couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [3/4] couchdb commit: updated refs/heads/port-js-tests-to-2.0 to f6c87e4
Date Thu, 25 Jun 2015 20:33:27 GMT
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 <jan@apache.org>
Authored: Thu Jun 25 22:29:23 2015 +0200
Committer: Jan Lehnardt <jan@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,


Mime
View raw message