diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-08-12 15:53:48 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-08-12 15:53:48 -0700 |
commit | 78e3f55368cd7ca5e3ca291f18990501eac9e1ff (patch) | |
tree | c11e5193106d6248cc7b7a9331336817aa62dedc /050scenario.cc | |
parent | 4f95cdb0103a95b90c5676b5a79d55afaaa80aa5 (diff) | |
download | mu-78e3f55368cd7ca5e3ca291f18990501eac9e1ff.tar.gz |
3170 - multiple --options at the commandline
The mu commandline now has four parts: options, commands (of which we only have one so far: 'test'), files/directories and ingredients to pass to 'main'. That cleans up the hacky ordering constraint we had earlier. I've also cleaned up the usage message.
Diffstat (limited to '050scenario.cc')
-rw-r--r-- | 050scenario.cc | 9 |
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; |