diff options
-rwxr-xr-x | tests/angularjs/scripts/install-ubuntu.sh | 6 | ||||
-rwxr-xr-x | tests/angularjs/scripts/run-once.sh | 1 | ||||
-rwxr-xr-x | tests/angularjs/scripts/travis.sh | 1 | ||||
-rw-r--r-- | tests/javascript/testrunner.js | 3 |
4 files changed, 5 insertions, 6 deletions
diff --git a/tests/angularjs/scripts/install-ubuntu.sh b/tests/angularjs/scripts/install-ubuntu.sh index 60a564dae2..86953430d5 100755 --- a/tests/angularjs/scripts/install-ubuntu.sh +++ b/tests/angularjs/scripts/install-ubuntu.sh @@ -1,11 +1,7 @@ +#!/usr/bin/env bash DIR=`dirname $0` source $DIR/../../travis/travis-helper.sh -cd $DIR -travis_retry sudo apt-get -qq install python-software-properties -travis_retry sudo apt-add-repository -y ppa:chris-lea/node.js > /dev/null -travis_retry sudo apt-get -qq update - cd .. npm config set loglevel error travis_retry npm install .
\ No newline at end of file diff --git a/tests/angularjs/scripts/run-once.sh b/tests/angularjs/scripts/run-once.sh index 5f95af3fa5..4f796b4acb 100755 --- a/tests/angularjs/scripts/run-once.sh +++ b/tests/angularjs/scripts/run-once.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash DIR=`dirname $0` cd $DIR cd .. diff --git a/tests/angularjs/scripts/travis.sh b/tests/angularjs/scripts/travis.sh index f2002203ad..70e083a4f8 100755 --- a/tests/angularjs/scripts/travis.sh +++ b/tests/angularjs/scripts/travis.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash DIR=`dirname $0` cd $DIR ./install-ubuntu.sh 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"); |