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

Unified Diff: third_party/pkg/angular/scripts/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 side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/scripts/run-test.sh
diff --git a/third_party/pkg/angular/scripts/run-test.sh b/third_party/pkg/angular/scripts/run-test.sh
new file mode 100755
index 0000000000000000000000000000000000000000..548a9ab35b05fe7de656d327a77bdc665baceff7
--- /dev/null
+++ b/third_party/pkg/angular/scripts/run-test.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+set -e
+
+. $(dirname $0)/env.sh
+
+# 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
+cd $NGDART_BASE_DIR
+npm install
+
+# Print the dart VM version to the logs
+dart --version
+
+# run io tests
+dart --checked $NGDART_BASE_DIR/test/io/all.dart
+
+# run transformer tests
+dart --checked $NGDART_BASE_DIR/test/tools/transformer/all.dart
+
+# run expression extractor tests
+dart --checked $NGDART_BASE_DIR/test/tools/symbol_inspector/symbol_inspector_spec.dart
+
+$NGDART_SCRIPT_DIR/analyze.sh &&
+ $NGDART_BASE_DIR/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=Dartium,Chrome,Firefox --single-run --no-colors
+
« no previous file with comments | « third_party/pkg/angular/scripts/perf.sh ('k') | third_party/pkg/angular/scripts/test-expression-extractor.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698