couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject [16/50] git commit: Allow test/javascript/run to be run standalone
Date Sun, 22 Jan 2012 23:43:13 GMT
Allow test/javascript/run to be run standalone

Some users will incrementally reload a single code module into a running
couchdb instance and wish to run the js tests again. This allows
test/javascript/run to execute outside of make check by using an env
variable COUCHDB_NO_START.


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

Branch: refs/heads/COUCHDB-1342
Commit: 0ebfd22494e9e989d9ea639275823f9f1b368f0d
Parents: fcd7f80
Author: Bob Dionne <bitdiddle@apache.org>
Authored: Sun Jan 8 15:41:54 2012 -0500
Committer: Bob Dionne <bitdiddle@apache.org>
Committed: Sun Jan 8 15:41:54 2012 -0500

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/0ebfd224/test/javascript/run.tpl
----------------------------------------------------------------------
diff --git a/test/javascript/run.tpl b/test/javascript/run.tpl
index caffe49..cae5a09 100644
--- a/test/javascript/run.tpl
+++ b/test/javascript/run.tpl
@@ -35,7 +35,7 @@ else
     fi
 fi
 
-make dev
+
 
 # stop CouchDB on exit from various signals
 abort() {
@@ -46,6 +46,7 @@ abort() {
 
 # start CouchDB
 if [ -z $COUCHDB_NO_START ]; then
+        make dev
 	trap 'abort' 0 1 2 3 4 6 8 15
 	./utils/run -b -r 1
 	sleep 1 # give it a sec


Mime
View raw message