| OLD | NEW |
| (Empty) |
| 1 #!/bin/bash | |
| 2 | |
| 3 set -e | |
| 4 | |
| 5 . $(dirname $0)/env.sh | |
| 6 | |
| 7 # Check for node | |
| 8 if [ -z "$(which node)" ]; then | |
| 9 echo "node.js does not appear to be on the path." | |
| 10 echo "You can obtain it from http://nodejs.org" | |
| 11 exit 1; | |
| 12 fi | |
| 13 | |
| 14 # Run npm install so we are up-to-date | |
| 15 cd $NGDART_BASE_DIR | |
| 16 npm install | |
| 17 | |
| 18 # Print the dart VM version to the logs | |
| 19 dart --version | |
| 20 | |
| 21 # run io tests | |
| 22 dart --checked $NGDART_BASE_DIR/test/io/all.dart | |
| 23 | |
| 24 # run transformer tests | |
| 25 dart --checked $NGDART_BASE_DIR/test/tools/transformer/all.dart | |
| 26 | |
| 27 # run expression extractor tests | |
| 28 dart --checked $NGDART_BASE_DIR/test/tools/symbol_inspector/symbol_inspector_spe
c.dart | |
| 29 | |
| 30 $NGDART_SCRIPT_DIR/analyze.sh && | |
| 31 $NGDART_BASE_DIR/node_modules/jasmine-node/bin/jasmine-node playback_middlewar
e/spec/ && | |
| 32 node "node_modules/karma/bin/karma" start karma.conf \ | |
| 33 --reporters=junit,dots --port=8765 --runner-port=8766 \ | |
| 34 --browsers=Dartium,Chrome,Firefox --single-run --no-colors | |
| 35 | |
| OLD | NEW |