about summary refs log tree commit diff stats
path: root/050scenario.cc
diff options
context:
space:
mode:
Diffstat (limited to '050scenario.cc')
-rw-r--r--050scenario.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/050scenario.cc b/050scenario.cc
index d14bbcbe..b814a2de 100644
--- a/050scenario.cc
+++ b/050scenario.cc
@@ -132,7 +132,14 @@ if (Num_core_mu_scenarios != SIZE(Scenarios)) {
   }
 }
 
-//: Support running tests for just the Mu app(s) we are loading.
+//: For faster debugging, support running tests for just the Mu app(s) we are
+//: loading.
+:(before "End Globals")
+bool Test_only_app = false;
+:(before "End Commandline Options(*arg)")
+else if (is_equal(*arg, "--test-only-app")) {
+  Test_only_app = true;
+}
 :(after "End Test Run Initialization")
 if (Test_only_app && Num_core_mu_scenarios < SIZE(Scenarios)) {
   goto run_app_scenarios;