couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject git commit: Start/Stop CouchDB aronud JS CLI tests.
Date Mon, 31 Oct 2011 08:37:56 GMT
Updated Branches:
  refs/heads/master 31edafecb -> 6dcd3a4b6


Start/Stop CouchDB aronud JS CLI tests.


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

Branch: refs/heads/master
Commit: 6dcd3a4b635f012b4fab697fbc990de70eb9840d
Parents: 31edafe
Author: Jan Lehnardt <jan@apache.org>
Authored: Mon Oct 31 09:37:48 2011 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Mon Oct 31 09:37:48 2011 +0100

----------------------------------------------------------------------
 test/javascript/run.tpl |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/6dcd3a4b/test/javascript/run.tpl
----------------------------------------------------------------------
diff --git a/test/javascript/run.tpl b/test/javascript/run.tpl
index e4a2029..eb73a61 100644
--- a/test/javascript/run.tpl
+++ b/test/javascript/run.tpl
@@ -35,6 +35,11 @@ else
     fi
 fi
 
+make dev
+# start CouchDB
+./utils/run -b -r 1
+sleep 1 # give it a sec
+
 cat $SCRIPT_DIR/json2.js \
 	$SCRIPT_DIR/sha1.js \
 	$SCRIPT_DIR/oauth.js \
@@ -45,3 +50,6 @@ cat $SCRIPT_DIR/json2.js \
 	$JS_TEST_DIR/couch_http.js \
 	$JS_TEST_DIR/cli_runner.js \
     | $COUCHJS -H -
+
+# stop CouchDB
+./utils/run -d


Mime
View raw message