You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2015/06/25 22:33:27 UTC

[3/4] couchdb commit: updated refs/heads/port-js-tests-to-2.0 to f6c87e4

test/javascript/run: allow configuration of target URL with couchdb.uri file


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

Branch: refs/heads/port-js-tests-to-2.0
Commit: df1be4f40093aa55cd6b6b80bc3090476bdebe1c
Parents: db972ed
Author: Jan Lehnardt <ja...@apache.org>
Authored: Thu Jun 25 22:29:23 2015 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Thu Jun 25 22:29:23 2015 +0200

----------------------------------------------------------------------
 test/javascript/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/df1be4f4/test/javascript/run
----------------------------------------------------------------------
diff --git a/test/javascript/run b/test/javascript/run
index 4c71204..806b7e7 100755
--- a/test/javascript/run
+++ b/test/javascript/run
@@ -71,7 +71,7 @@ def mkformatter(tests):
 
 def run_couchjs(test, fmt):
     fmt(test)
-    cmd = [COUCHJS, "-H"] + SCRIPTS + [test, RUNNER]
+    cmd = [COUCHJS, "-H"] + ["-u", "test/javascript/couchdb.uri"] + SCRIPTS + [test, RUNNER]
     p = sp.Popen(
         cmd,
         stdin=sp.PIPE,