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

Unified Diff: test/run.sh

Issue 10916294: switch html5lib to new pkg layout (Closed) Base URL: https://github.com/dart-lang/html5lib.git@master
Patch Set: Created 8 years, 3 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 | « test/parser_test.dart ('k') | test/support.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/run.sh
diff --git a/tests/run.sh b/test/run.sh
similarity index 79%
rename from tests/run.sh
rename to test/run.sh
index 53a0d17cfe2b31ef9d6b89bf7ff983ac92eb2696..4c89a70af81c65855e10d7f0d23f5972623717cc 100755
--- a/tests/run.sh
+++ b/test/run.sh
@@ -7,8 +7,9 @@
set -e
# TODO(sigmund): replace with a real test runner
-for test in tests/*_test.dart; do
+DIR=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd )
+for test in $DIR/*_test.dart; do
# TODO(jmesserly): removed --enable-type-checks to work around VM bug in
# the RegExp constructor when the optimizer kicks in.
- dart --enable-asserts --package-root=packages/ $test
+ dart --enable-asserts $test
done
« no previous file with comments | « test/parser_test.dart ('k') | test/support.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698