summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-20 17:53:36 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-20 17:53:36 +0800
commit7d217b40b66e7c569e160447e4aa87d973470a9b (patch)
tree9a1af42ee3c604c1dec7960fd4e77d1925876282 /src/main.cpp
parente21a7ceaee5f951bdec280c31a25a8d9215211a6 (diff)
downloadmrust-7d217b40b66e7c569e160447e4aa87d973470a9b.tar.gz
Makefile - Allow overriding the last stage for rust_tests
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f65b3c67..2ffab7e8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -539,6 +539,8 @@ ProgramParams::ProgramParams(int argc, char *argv[])
this->last_stage = STAGE_RESOLVE;
else if( strcmp(arg, "mir") == 0 )
this->last_stage = STAGE_MIR;
+ else if( strcmp(arg, "ALL") == 0 )
+ this->last_stage = STAGE_ALL;
else {
::std::cerr << "Unknown argument to --stop-after : '" << arg << "'" << ::std::endl;
exit(1);