couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [03/35] couchdb commit: updated refs/heads/2876-js-tests-merged to 6d9b2eb
Date Sat, 12 Dec 2015 16:01:24 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/bbbd6496
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/bbbd6496
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/bbbd6496

Branch: refs/heads/2876-js-tests-merged
Commit: bbbd649677fe83db04101220d7c67ee12835b86c
Parents: e1683e0
Author: Jan Lehnardt <jan@apache.org>
Authored: Thu Jun 25 22:29:23 2015 +0200
Committer: Jan Lehnardt <jan@apache.org>
Committed: Sat Dec 12 15:23:25 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/bbbd6496/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