diff options
-rw-r--r-- | 020run.cc | 1 | ||||
-rw-r--r-- | 050scenario.cc | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/020run.cc b/020run.cc index 587e9f88..5ec96e67 100644 --- a/020run.cc +++ b/020run.cc @@ -139,6 +139,7 @@ transform_all(); //: Step 2: load any .mu files provided at the commandline :(before "End Commandline Parsing") +// Check For .mu Files if (argc > 1) { // skip argv[0] argv++; 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 << "."; } |