summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/gulpfile.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/gulpfile.js b/js/gulpfile.js
index bd59ea2716f..049c4afa22a 100644
--- a/js/gulpfile.js
+++ b/js/gulpfile.js
@@ -384,7 +384,9 @@ gulp.task("test:run-with-browser", ["watch"].concat(useBinDist ? ["test"] : ["bu
fs.writeFileSync("server-languages.json", JSON.stringify(serverLanguages, null, 4));
require("./bin/HttpServer")();
- var p = require("child_process").spawn("python", ["../scripts/TestController.py"], {stdio: "inherit"});
+ var cmd = ["../scripts/TestController.py"]
+ cmd = cmd.concat(process.argv.slice(3))
+ var p = require("child_process").spawn("python", cmd, {stdio: "inherit"});
p.on("error", function(err)
{
if(err.message == "spawn python ENOENT")