| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 | 2 |
| 3 set -e | 3 set -e |
| 4 | 4 |
| 5 export DART_SDK=`which dart | sed -e 's/\/dart\-sdk\/.*$/\/dart-sdk/'` | |
| 6 | |
| 7 # OS-specific Dartium path defaults | 5 # OS-specific Dartium path defaults |
| 8 case $( uname -s ) in | 6 case $( uname -s ) in |
| 9 Darwin) | 7 Darwin) |
| 10 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"};; |
| 11 esac | 9 esac |
| 12 if [ ! -x "$CHROME_CANARY_BIN" ]; then | 10 if [ ! -x "$CHROME_CANARY_BIN" ]; then |
| 13 echo "Unable to determine path to Dartium browser. To correct:" | 11 echo "Unable to determine path to Dartium browser. To correct:" |
| 14 echo "export CHROME_CANARY_BIN=path/to/dartium" | 12 echo "export CHROME_CANARY_BIN=path/to/dartium" |
| 15 exit 1; | 13 exit 1; |
| 16 fi | 14 fi |
| (...skipping 17 matching lines...) Expand all Loading... |
| 34 # run io tests | 32 # run io tests |
| 35 dart --checked test/io/all.dart | 33 dart --checked test/io/all.dart |
| 36 | 34 |
| 37 # run expression extractor tests | 35 # run expression extractor tests |
| 38 scripts/test-expression-extractor.sh | 36 scripts/test-expression-extractor.sh |
| 39 | 37 |
| 40 ./scripts/analyze.sh && | 38 ./scripts/analyze.sh && |
| 41 node_modules/jasmine-node/bin/jasmine-node playback_middleware/spec/ && | 39 node_modules/jasmine-node/bin/jasmine-node playback_middleware/spec/ && |
| 42 node "node_modules/karma/bin/karma" start karma.conf \ | 40 node "node_modules/karma/bin/karma" start karma.conf \ |
| 43 --reporters=junit,dots --port=8765 --runner-port=8766 \ | 41 --reporters=junit,dots --port=8765 --runner-port=8766 \ |
| 44 --browsers=ChromeCanary,Chrome --single-run --no-colors | 42 --browsers=ChromeCanary,Chrome --single-run --no-colors --no-color |
| 45 | 43 |
| OLD | NEW |