diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-01-20 18:52:34 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-01-20 20:19:34 -0800 |
commit | 2186422cded068a90ad4f6589e3307f74e82fcaf (patch) | |
tree | 57f5adb34093a98e455b896efe473eb980a413ba /050scenario.cc | |
parent | 1102f7d7852603a1f6fc983d7027c600161428b4 (diff) | |
download | mu-2186422cded068a90ad4f6589e3307f74e82fcaf.tar.gz |
2579
Separate core mu tests from those loaded from the commandline.
Diffstat (limited to '050scenario.cc')
-rw-r--r-- | 050scenario.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/050scenario.cc b/050scenario.cc index 0680266e..768c2f7c 100644 --- a/050scenario.cc +++ b/050scenario.cc @@ -106,11 +106,19 @@ scenario foo [ //:: Run scenarios when we run 'mu test'. //: Treat the text of the scenario as a regular series of instructions. +:(before "End Globals") +long long int Num_core_mu_tests = 0; +:(after "Check For .mu Files") +Num_core_mu_tests = SIZE(Scenarios); :(before "End Tests") time_t mu_time; time(&mu_time); cerr << "\nMu tests: " << ctime(&mu_time); for (long long int i = 0; i < SIZE(Scenarios); ++i) { //? cerr << i << ": " << Scenarios.at(i).name << '\n'; + if (i == Num_core_mu_tests) { + time(&t); + cerr << "\nApp tests: " << ctime(&t); + } run_mu_scenario(Scenarios.at(i)); if (Passed) cerr << "."; } |