| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 | 2 |
| 3 set -e |
| 4 |
| 3 # OS-specific Dartium path defaults | 5 # OS-specific Dartium path defaults |
| 4 case $( uname -s ) in | 6 case $( uname -s ) in |
| 5 Darwin) | 7 Darwin) |
| 6 CHROME_CANARY_BIN=${CHROME_CANARY_BIN:-"/Applications/dart/chromium/Chromium
.app/Contents/MacOS/Chromium"};; | 8 CHROME_CANARY_BIN=${CHROME_CANARY_BIN:-"/Applications/dart/chromium/Chromium
.app/Contents/MacOS/Chromium"};; |
| 7 esac | 9 esac |
| 8 if [ ! -x "$CHROME_CANARY_BIN" ]; then | 10 if [ ! -x "$CHROME_CANARY_BIN" ]; then |
| 9 echo "Unable to determine path to Dartium browser. To correct:" | 11 echo "Unable to determine path to Dartium browser. To correct:" |
| 10 echo "export CHROME_CANARY_BIN=path/to/dartium" | 12 echo "export CHROME_CANARY_BIN=path/to/dartium" |
| 11 exit 1; | 13 exit 1; |
| 12 fi | 14 fi |
| (...skipping 10 matching lines...) Expand all Loading... |
| 23 # Run npm install so we are up-to-date | 25 # Run npm install so we are up-to-date |
| 24 npm install karma karma-dart karma-chrome-launcher \ | 26 npm install karma karma-dart karma-chrome-launcher \ |
| 25 karma-script-launcher karma-junit-reporter jasmine-node; | 27 karma-script-launcher karma-junit-reporter jasmine-node; |
| 26 | 28 |
| 27 # Print the dart VM version to the logs | 29 # Print the dart VM version to the logs |
| 28 dart --version | 30 dart --version |
| 29 | 31 |
| 30 # run io tests | 32 # run io tests |
| 31 dart --checked test/io/all.dart | 33 dart --checked test/io/all.dart |
| 32 | 34 |
| 33 ./analyze.sh && | 35 # run expression extractor tests |
| 36 scripts/test-expression-extractor.sh |
| 37 |
| 38 ./scripts/analyze.sh && |
| 34 node_modules/jasmine-node/bin/jasmine-node playback_middleware/spec/ && | 39 node_modules/jasmine-node/bin/jasmine-node playback_middleware/spec/ && |
| 35 node "node_modules/karma/bin/karma" start karma.conf \ | 40 node "node_modules/karma/bin/karma" start karma.conf \ |
| 36 --reporters=junit,dots --port=8765 --runner-port=8766 \ | 41 --reporters=junit,dots --port=8765 --runner-port=8766 \ |
| 37 --browsers=ChromeCanary,Chrome --single-run --no-colors --no-color | 42 --browsers=ChromeCanary,Chrome --single-run --no-colors --no-color |
| 38 | 43 |
| OLD | NEW |