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

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

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
« no previous file with comments | « third_party/pkg/angular/pubspec.yaml ('k') | third_party/pkg/angular/scripts/analyze.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2
3 set -e
4
5 export DART_SDK=`which dart | sed -e 's/\/dart\-sdk\/.*$/\/dart-sdk/'`
6
7 # OS-specific Dartium path defaults
8 case $( uname -s ) in
9 Darwin)
10 CHROME_CANARY_BIN=${CHROME_CANARY_BIN:-"/Applications/dart/chromium/Chromium .app/Contents/MacOS/Chromium"};;
11 esac
12 if [ ! -x "$CHROME_CANARY_BIN" ]; then
13 echo "Unable to determine path to Dartium browser. To correct:"
14 echo "export CHROME_CANARY_BIN=path/to/dartium"
15 exit 1;
16 fi
17 export CHROME_CANARY_BIN
18 export DART_FLAGS="--enable-type-checks --enable-asserts"
19
20 # Check for node
21 if [ -z "$(which node)" ]; then
22 echo "node.js does not appear to be on the path."
23 echo "You can obtain it from http://nodejs.org"
24 exit 1;
25 fi
26
27 # Run npm install so we are up-to-date
28 npm install karma karma-dart karma-chrome-launcher \
29 karma-script-launcher karma-junit-reporter jasmine-node;
30
31 # Print the dart VM version to the logs
32 dart --version
33
34 # run io tests
35 dart --checked test/io/all.dart
36
37 # run expression extractor tests
38 scripts/test-expression-extractor.sh
39
40 ./scripts/analyze.sh &&
41 node_modules/jasmine-node/bin/jasmine-node playback_middleware/spec/ &&
42 node "node_modules/karma/bin/karma" start karma.conf \
43 --reporters=junit,dots --port=8765 --runner-port=8766 \
44 --browsers=ChromeCanary,Chrome --single-run --no-colors
45
OLDNEW
« no previous file with comments | « third_party/pkg/angular/pubspec.yaml ('k') | third_party/pkg/angular/scripts/analyze.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698