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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/di/run-tests.sh
diff --git a/third_party/pkg/di/run-tests.sh b/third_party/pkg/di/run-tests.sh
index 2c6896ee12c55a80943f174068971aa49f8ea047..3341ae83d25adcc068b5eb750b16c09fc4e20d54 100755
--- a/third_party/pkg/di/run-tests.sh
+++ b/third_party/pkg/di/run-tests.sh
@@ -8,6 +8,7 @@ echo "run type factories generator for tests"
echo "run tests in dart"
dart --checked test/main.dart
dart --checked test/generator_test.dart
+dart --checked test/injector_generator_spec.dart
echo "run dart2js on tests"
mkdir -p out
@@ -15,3 +16,18 @@ dart2js --minify -c test/main.dart -o out/main.dart.js
echo "run tests in node"
node out/main.dart.js
+
+echo "run transformer tests"
+pub build --mode=debug test
+
+echo "running transformer test (uncompiled, Dynamic DI)"
+dart --checked test/auto_injector_test.dart
+
+echo "running transformer test (Static DI, Dart VM)"
+dart --checked build/test/auto_injector_test.dart
+
+echo "running transformer test (Static DI, dart2js)"
+# TODO(blois) dart2js compilation is not picking up transformed files, so
+# run dart2js manually. dartbug.com/17198
+dart2js -c build/test/auto_injector_test.dart -o build/test/auto_injector_test.dart.js;
+node build/test/auto_injector_test.dart.js
« 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