diff options
Diffstat (limited to 'tests/javascript')
-rw-r--r-- | tests/javascript/testrunner.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/javascript/testrunner.js b/tests/javascript/testrunner.js index 7ac70b4a31..7194540ec8 100644 --- a/tests/javascript/testrunner.js +++ b/tests/javascript/testrunner.js @@ -22,7 +22,8 @@ // IN THE SOFTWARE var fs = require("fs"); -var url = 'http://localhost/tests/javascript/'; +var system = require("system"); +var url = system.args[1] || 'http://localhost/tests/javascript/'; function printError(message) { console.error(message + "\n"); |