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

Unified Diff: test/test.sh

Issue 985933004: Do cleanup instead of excluding runtime files in diff (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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/codegen_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/test.sh
diff --git a/test/test.sh b/test/test.sh
index c96a72ec69e30cabf6c4ada27fa1105c1cad33ca..5d74c8d312193dfde2cb1281827715bfb7e0d1f8 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -10,13 +10,7 @@ function fail {
# - *.map files so they aren't compared, as the diff is not human readable.
# - runtime JS files that are just copied over from the sources and are not
# duplicated in the expected folder.
-DIFF_ARGS="-u -r -N --exclude=\*.map \
- --exclude=dart_runtime.js \
- --exclude=dart_core.js \
- --exclude=harmony_feature_check.js \
- --exclude=messages_widget.js \
- --exclude=messages.css \
- expect actual"
+DIFF_ARGS="-u -r -N --exclude=\*.map expect actual"
function show_diff {
echo "Fail: actual output did not match expected"
@@ -48,6 +42,7 @@ dart -c test/all_tests.dart || fail
# validate codegen_test output
pushd test/codegen/ &> /dev/null
+rm -r actual/dev_compiler/ actual/server_mode/dev_compiler/
diff $DIFF_ARGS > /dev/null || show_diff
popd &> /dev/null
« no previous file with comments | « test/codegen_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698