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

Unified Diff: pkg/front_end/tool/fasta

Issue 2757303002: Add testing subcommand to fasta tool. (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/tool/fasta
diff --git a/pkg/front_end/tool/fasta b/pkg/front_end/tool/fasta
index a82ad51997cfb3dbda187f8e11e8ee13684b2c19..aa43e71aaa89ee847869bec3db411e1681f0014c 100755
--- a/pkg/front_end/tool/fasta
+++ b/pkg/front_end/tool/fasta
@@ -47,6 +47,10 @@ case "${1//_/-}" in
stop "Usage: $1 dillfile [output]"
fi
;;
+ testing)
+ SCRIPT="${REPO_DIR}/pkg/testing/bin/testing.dart"
+ set -- "$@" "--config=${REPO_DIR}/pkg/front_end/test/fasta/testing.json"
+ ;;
*)
stop "'$1' isn't a valid subcommand."
;;
@@ -54,4 +58,4 @@ esac
shift
-exec "${DART_VM}" -c "${SCRIPT}" "$@"
+DART_CONFIGURATION=${DART_CONFIGURATION:-ReleaseX64} exec "${DART_VM}" -c "${SCRIPT}" "$@"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698