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

Unified Diff: coverage_reflectable/bin/unexecuted_lines

Issue 1722653002: Enables globbing for entry points. (Closed) Base URL: https://github.com/dart-lang/reflectable.git@master
Patch Set: Created 4 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 | reflectable/lib/src/transformer_implementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: coverage_reflectable/bin/unexecuted_lines
diff --git a/coverage_reflectable/bin/unexecuted_lines b/coverage_reflectable/bin/unexecuted_lines
index 56d072f6d4d3b461f486e1955ff6950424fbc2c8..c0b73e71b7f6a49370ba946e1f0bfc51e6297ed1 100755
--- a/coverage_reflectable/bin/unexecuted_lines
+++ b/coverage_reflectable/bin/unexecuted_lines
@@ -8,7 +8,10 @@ BUILD_DIR=../../test_reflectable
TIMESTAMP=$(date +"%Y%m%d-%H%M")
OUTPUT_FILE="/tmp/unexecuted-lines-$TIMESTAMP.txt"
VM_PORT=43979
-DART_VM_OPTIONS="--enable-vm-service:$VM_PORT -Dreflectable.pause.at.exit=true"
+TEST_COUNT=$(ls ../../test_reflectable/test/*_test.dart | wc -l)
+D_OPTION1="-Dreflectable.pause.at.exit=true"
+D_OPTION2="-Dreflectable.pause.at.exit.count=$TEST_COUNT"
+DART_VM_OPTIONS="--enable-vm-service:$VM_PORT $D_OPTION1 $D_OPTION2"
export DART_VM_OPTIONS
( cd $BUILD_DIR; pub build --mode=debug test ) & sleep 1
« no previous file with comments | « no previous file | reflectable/lib/src/transformer_implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698