| Index: third_party/pkg/angular/run-test.sh
|
| diff --git a/third_party/pkg/angular/run-test.sh b/third_party/pkg/angular/run-test.sh
|
| deleted file mode 100755
|
| index e216558138a417480396706cf270d051c2a7da61..0000000000000000000000000000000000000000
|
| --- a/third_party/pkg/angular/run-test.sh
|
| +++ /dev/null
|
| @@ -1,45 +0,0 @@
|
| -#!/bin/sh
|
| -
|
| -set -e
|
| -
|
| -export DART_SDK=`which dart | sed -e 's/\/dart\-sdk\/.*$/\/dart-sdk/'`
|
| -
|
| -# OS-specific Dartium path defaults
|
| -case $( uname -s ) in
|
| - Darwin)
|
| - CHROME_CANARY_BIN=${CHROME_CANARY_BIN:-"/Applications/dart/chromium/Chromium.app/Contents/MacOS/Chromium"};;
|
| -esac
|
| -if [ ! -x "$CHROME_CANARY_BIN" ]; then
|
| - echo "Unable to determine path to Dartium browser. To correct:"
|
| - echo "export CHROME_CANARY_BIN=path/to/dartium"
|
| - exit 1;
|
| -fi
|
| -export CHROME_CANARY_BIN
|
| -export DART_FLAGS="--enable-type-checks --enable-asserts"
|
| -
|
| -# Check for node
|
| -if [ -z "$(which node)" ]; then
|
| - echo "node.js does not appear to be on the path."
|
| - echo "You can obtain it from http://nodejs.org"
|
| - exit 1;
|
| -fi
|
| -
|
| -# Run npm install so we are up-to-date
|
| -npm install karma karma-dart karma-chrome-launcher \
|
| - karma-script-launcher karma-junit-reporter jasmine-node;
|
| -
|
| -# Print the dart VM version to the logs
|
| -dart --version
|
| -
|
| -# run io tests
|
| -dart --checked test/io/all.dart
|
| -
|
| -# run expression extractor tests
|
| -scripts/test-expression-extractor.sh
|
| -
|
| -./scripts/analyze.sh &&
|
| - node_modules/jasmine-node/bin/jasmine-node playback_middleware/spec/ &&
|
| - node "node_modules/karma/bin/karma" start karma.conf \
|
| - --reporters=junit,dots --port=8765 --runner-port=8766 \
|
| - --browsers=ChromeCanary,Chrome --single-run --no-colors
|
| -
|
|
|