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

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

Issue 23539003: Turn on Polymer TodoMVC tests on Dart buildbots (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: use unittest test_controller.js Created 7 years, 4 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: pkg/polymer/test/run.sh
diff --git a/pkg/polymer/test/run.sh b/pkg/polymer/test/run.sh
index 0d2b5696f6c4114d74222cfac7b28fce9bb46a36..c0f0135d54315de766f2d94ba2663d8495ee4b35 100755
--- a/pkg/polymer/test/run.sh
+++ b/pkg/polymer/test/run.sh
@@ -68,8 +68,7 @@ function compare_all {
# TODO(jmesserly): bash and dart regexp might not be 100% the same. Ideally we
# could do all the heavy lifting in Dart code, and keep this script as a thin
# wrapper that sets `--enable-type-checks --enable-asserts`
- for input in $DIR/../example/component/news/test/*_test.html \
- $DIR/../../../samples/third_party/todomvc/test/*_test.html; do
+ for input in $DIR/../example/component/news/test/*_test.html; do
if [[ ($TEST_PATTERN == "") || ($input =~ $TEST_PATTERN) ]]; then
FILENAME=`basename $input`
DIRNAME=`dirname $input`
@@ -113,7 +112,6 @@ if [[ ($TEST_PATTERN == "") ]]; then
# http://dartbug.com/9637
dart build.dart --machine --clean > /dev/null
dart build.dart --machine --full > /dev/null
- dart build.dart --machine --changed ../../samples/third_party/todomvc/web/index.html > /dev/null
popd > /dev/null
fi
@@ -124,7 +122,7 @@ popd > /dev/null
# Run Dart analyzer to check that we're generating warning clean code.
# It's a bit slow, so only do this for TodoMVC and html5_utils tests.
-OUT_PATTERN="$DIR/../../../third_party/samples/todomvc/test/out/test/*$TEST_PATTERN*_bootstrap.dart"
+OUT_PATTERN="$DIR/../example/component/news/test/out/test/*$TEST_PATTERN*_bootstrap.dart"
if [[ `ls $OUT_PATTERN 2>/dev/null` != "" ]]; then
echo -e "\nAnalyzing generated code for warnings or type errors."
ls $OUT_PATTERN 2>/dev/null | dartanalyzer --package-root=packages \

Powered by Google App Engine
This is Rietveld 408576698