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