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

Side by Side Diff: third_party/pkg/di/run-tests.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/di/pubspec.yaml ('k') | third_party/pkg/di/scripts/changelog.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 #!/bin/sh 2 #!/bin/sh
3 set -e 3 set -e
4 4
5 echo "run type factories generator for tests" 5 echo "run type factories generator for tests"
6 ./test_tf_gen.sh 6 ./test_tf_gen.sh
7 7
8 echo "run tests in dart" 8 echo "run tests in dart"
9 dart --checked test/main.dart 9 dart --checked test/main.dart
10 dart --checked test/generator_test.dart 10 dart --checked test/generator_test.dart
11 dart --checked test/injector_generator_spec.dart
11 12
12 echo "run dart2js on tests" 13 echo "run dart2js on tests"
13 mkdir -p out 14 mkdir -p out
14 dart2js --minify -c test/main.dart -o out/main.dart.js 15 dart2js --minify -c test/main.dart -o out/main.dart.js
15 16
16 echo "run tests in node" 17 echo "run tests in node"
17 node out/main.dart.js 18 node out/main.dart.js
19
20 echo "run transformer tests"
21 pub build --mode=debug test
22
23 echo "running transformer test (uncompiled, Dynamic DI)"
24 dart --checked test/auto_injector_test.dart
25
26 echo "running transformer test (Static DI, Dart VM)"
27 dart --checked build/test/auto_injector_test.dart
28
29 echo "running transformer test (Static DI, dart2js)"
30 # TODO(blois) dart2js compilation is not picking up transformed files, so
31 # run dart2js manually. dartbug.com/17198
32 dart2js -c build/test/auto_injector_test.dart -o build/test/auto_injector_test.d art.js;
33 node build/test/auto_injector_test.dart.js
OLDNEW
« no previous file with comments | « third_party/pkg/di/pubspec.yaml ('k') | third_party/pkg/di/scripts/changelog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698