diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2015-09-18 15:41:55 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2015-09-18 15:41:55 -0230 |
commit | eef0db58698b9c5b2dd69a49c4d172cbd79a501d (patch) | |
tree | 4341898318ca57d939999dbe937b03c5911347a9 /js | |
parent | ICE-6737 Improved gulp message if python not in PATH (diff) | |
download | ice-eef0db58698b9c5b2dd69a49c4d172cbd79a501d.tar.bz2 ice-eef0db58698b9c5b2dd69a49c4d172cbd79a501d.tar.xz ice-eef0db58698b9c5b2dd69a49c4d172cbd79a501d.zip |
ICE-6737 Allow arguments to be passed to TestController run from gulp task
Diffstat (limited to 'js')
-rw-r--r-- | js/gulpfile.js | 4 |
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") |