diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-22 11:49:24 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-22 11:49:24 -0700 |
commit | ccd792dace1439b60882fafd1d1bd4b06c405d9e (patch) | |
tree | e1c5b825eab5a0173bf57d114eeeb2c5fb26a6de /cpp/010vm | |
parent | 3c6784a87bb362a7a2f32d617c5950fec23460cd (diff) | |
download | mu-ccd792dace1439b60882fafd1d1bd4b06c405d9e.tar.gz |
1126 - 'mu test x.mu' runs just scenarios in x.mu
Required still more tweaking of Recipe namespaces. Mindlessly inserting setup() took a couple of hours to debug because the test function and the function it was testing ended up getting the same recipe number, with the inevitable infinite loop :/
Diffstat (limited to 'cpp/010vm')
-rw-r--r-- | cpp/010vm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpp/010vm b/cpp/010vm index a900a56e..0a1ada2c 100644 --- a/cpp/010vm +++ b/cpp/010vm @@ -152,9 +152,6 @@ setup_recipes(); assert(MAX_PRIMITIVE_RECIPES < 100); // level 0 is primitives; until 99 Next_recipe_number = 100; // End Load Recipes -// give tests a consistent starting point -assert(Next_recipe_number < 1000); -Next_recipe_number = 1000; delete Trace_stream; Trace_stream = new trace_stream; :(before "End Setup") Next_recipe_number = 1000; // consistent new numbers for each test |