couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject couchdb commit: updated refs/heads/1843-feature-bigcouch to 68053b1
Date Fri, 07 Feb 2014 05:29:07 GMT
Updated Branches:
  refs/heads/1843-feature-bigcouch 6abe6c805 -> 68053b16b


Clear a line before printing JS test errors


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/68053b16
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/68053b16
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/68053b16

Branch: refs/heads/1843-feature-bigcouch
Commit: 68053b16b4c36cf6413d039081bfa0d8d16b7fe1
Parents: 6abe6c8
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Thu Feb 6 23:28:43 2014 -0600
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Thu Feb 6 23:28:43 2014 -0600

----------------------------------------------------------------------
 test/javascript/cli_runner.js | 2 +-
 test/javascript/test_setup.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/68053b16/test/javascript/cli_runner.js
----------------------------------------------------------------------
diff --git a/test/javascript/cli_runner.js b/test/javascript/cli_runner.js
index b63d1e7..dbaf1c2 100644
--- a/test/javascript/cli_runner.js
+++ b/test/javascript/cli_runner.js
@@ -37,7 +37,7 @@ function runTest() {
     couchTests[name]();
     quit(0);
   } catch(e) {
-    console.log("Error: " + e.message);
+    console.log("\nError: " + e.message);
     fmtStack(e.stack);
     quit(1)
   }

http://git-wip-us.apache.org/repos/asf/couchdb/blob/68053b16/test/javascript/test_setup.js
----------------------------------------------------------------------
diff --git a/test/javascript/test_setup.js b/test/javascript/test_setup.js
index aaf0562..0a24c8a 100644
--- a/test/javascript/test_setup.js
+++ b/test/javascript/test_setup.js
@@ -61,7 +61,7 @@ function waitForSuccess(fun, tag) {
     var now = new Date().getTime();
     if (now > start + 5000) {
       complete = true;
-      print('FAIL ' + tag);
+      print('\nFAIL ' + tag);
       quit(1);
     }
     try {


Mime
View raw message