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

Unified Diff: pkg/polymer/test/run.sh

Issue 147453004: update web_components (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | « no previous file | pkg/web_components/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/run.sh
diff --git a/pkg/polymer/test/run.sh b/pkg/polymer/test/run.sh
index 62497be890cd08bb775151a3e1b6fb3d2e6265ca..0f7859f3912373c7bfed98b7e37af104db026765 100755
--- a/pkg/polymer/test/run.sh
+++ b/pkg/polymer/test/run.sh
@@ -14,17 +14,21 @@ pushd $DIR/../../.. > /dev/null
echo "*** Running unit tests for Polymer.dart and its dependencies."
-SUITES="pkg/polymer samples/third_party/todomvc"
-
-ANALYZER_CONFIG="-m release -r none -c dartanalyzer $*"
-CONFIG="-m release -r vm,drt,ff,chrome,d8,jsshell -c none,dart2js --checked $*"
-
-CMD="./tools/test.py $ANALYZER_CONFIG $SUITES"
-echo "*** $CMD"
-$CMD
-
-CMD="xvfb-run ./tools/test.py $CONFIG $SUITES"
-echo "*** $CMD"
-$CMD
+# Note: you can't combine two different pkg/ selectors in the same command.
+# Also, test.py gets less happy the more tests that are run.
+# So we run all of the filters separately.
+for SUITES in pkg/observe html/custom pkg/template_binding pkg/polymer samples/third_party/todomvc
blois 2014/02/12 02:29:31 line length
blois 2014/02/12 02:29:31 for loop variables (SUITES) should be lower_cased.
+do
+ ANALYZER_CONFIG="-m release -r none -c dartanalyzer $*"
blois 2014/02/12 02:29:31 should use readonly: readonly ANALYZER_CONFIG="-m
+ CONFIG="-m release -r vm,drt,ff,chrome,d8,jsshell -c none,dart2js --checked $*"
+
+ CMD="./tools/test.py $ANALYZER_CONFIG $SUITES"
blois 2014/02/12 02:29:31 should expand variables using: ${ANALYZER}
blois 2014/02/12 02:29:31 CMD is being assigned to multiple times, should no
+ echo "*** $CMD"
+ $CMD
+
+ CMD="xvfb-run ./tools/test.py $CONFIG $SUITES"
+ echo "*** $CMD"
+ $CMD
+done
echo -e "All tests pass"
« no previous file with comments | « no previous file | pkg/web_components/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698