diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-08 01:02:42 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-08 01:02:42 -0700 |
commit | 96f19e1e57c9d8508c7003aa4de4a87d0c7239c3 (patch) | |
tree | f4030c20c24202fd814b9a1ee04d507cd7b07c9c /cpp/010vm | |
parent | e38c85a1eb6a0107ed43d7d7dbc9f4080a917c59 (diff) | |
download | mu-96f19e1e57c9d8508c7003aa4de4a87d0c7239c3.tar.gz |
1038 - clean up layer organization a little
Things are quite intricate to avoid reloading all recipes before every test. But mu wasn't really intended to sidestep intrinsic intricacy.
Diffstat (limited to 'cpp/010vm')
-rw-r--r-- | cpp/010vm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/010vm b/cpp/010vm index 8d1c71df..aa75c6ae 100644 --- a/cpp/010vm +++ b/cpp/010vm @@ -138,10 +138,10 @@ void setup_recipes() { //: startup, and carefully undo each test's additions after itself. :(before "End One-time Setup") setup_recipes(); - load("core.mu"); + // End Load Recipes + // give tests a consistent starting point assert(Next_recipe_number < 100); Next_recipe_number = 100; - recipes_added_by_test.clear(); // Freeze everything added so far. delete Trace_stream; Trace_stream = new trace_stream; :(before "End Setup") Next_recipe_number = 100; // consistent new numbers for each test |