Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: third_party/pkg/angular/run-test.sh

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/bin/sh
2
3 # OS-specific Dartium path defaults
4 case $( uname -s ) in
5 Darwin)
6 CHROME_CANARY_BIN=${CHROME_CANARY_BIN:-"/Applications/dart/chromium/Chromium .app/Contents/MacOS/Chromium"};;
7 esac
8 if [ ! -x "$CHROME_CANARY_BIN" ]; then
9 echo "Unable to determine path to Dartium browser. To correct:"
10 echo "export CHROME_CANARY_BIN=path/to/dartium"
11 exit 1;
12 fi
13 export CHROME_CANARY_BIN
14 export DART_FLAGS="--enable-type-checks --enable-asserts"
15
16 # Check for node
17 if [ -z "$(which node)" ]; then
18 echo "node.js does not appear to be on the path."
19 echo "You can obtain it from http://nodejs.org"
20 exit 1;
21 fi
22
23 # Run npm install so we are up-to-date
24 npm install karma karma-dart karma-chrome-launcher \
25 karma-script-launcher karma-junit-reporter jasmine-node;
26
27 # Print the dart VM version to the logs
28 dart --version
29
30 # run io tests
31 dart --checked test/io/all.dart
32
33 ./analyze.sh &&
34 node_modules/jasmine-node/bin/jasmine-node playback_middleware/spec/ &&
35 node "node_modules/karma/bin/karma" start karma.conf \
36 --reporters=junit,dots --port=8765 --runner-port=8766 \
37 --browsers=ChromeCanary,Chrome --single-run --no-colors --no-color
38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698