projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
793c9e8
)
Only print PASS when failed test count == 0. Or is that === 0?
author
Robert Konigsberg
<konigsberg@google.com>
Tue, 29 Jan 2013 21:01:16 +0000
(16:01 -0500)
committer
Robert Konigsberg
<konigsberg@google.com>
Tue, 29 Jan 2013 21:01:16 +0000
(16:01 -0500)
phantom-driver.js
patch
|
blob
|
blame
|
history
diff --git
a/phantom-driver.js
b/phantom-driver.js
index
6e4c18e
..
9b98fdf
100644
(file)
--- a/
phantom-driver.js
+++ b/
phantom-driver.js
@@
-179,8
+179,9
@@
RunAllAutoTests(function(num_failing, num_passing) {
if (num_failing !== 0) {
console.log('FAIL');
phantom.exit();
+ } else {
+ console.log('PASS');
}
- console.log('PASS');
phantom.exit();
// This is not yet reliable enough to be useful: