about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-22 21:16:31 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-22 21:16:31 -0700
commit2c7e84c2bc3abd87090bd8f73ce5d6ec8ce19c9e (patch)
treec97203f0d8a64a38293f4b06c35970c30d6f98fa /020run.cc
parentc49efefc235e2cf91a44f4459b67ad780dd3bb1f (diff)
downloadmu-2c7e84c2bc3abd87090bd8f73ce5d6ec8ce19c9e.tar.gz
1620
chessboard finally passing all its tests. What made this hard was that
for some reason one of the background routines in the main chessboard
test wasn't terminating like it used to. And so it was polluting *later*
tests. Just clean up that source of contamination for now. Later we'll
think about routine termination.
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/020run.cc b/020run.cc
index cf4cab0c..2c069576 100644
--- a/020run.cc
+++ b/020run.cc
@@ -54,7 +54,7 @@ void run(recipe_number r) {
 
 void run_current_routine()
 {  // curly on a separate line, because later layers will modify header
-//?   cerr << "AAA 6\n"; //? 2
+//?   cerr << "AAA 6\n"; //? 3
   while (!Current_routine->completed())  // later layers will modify condition
   {
 //?     cerr << "AAA 7: " << current_step_index() << '\n'; //? 1
@@ -92,7 +92,7 @@ void run_current_routine()
     // End of Instruction
     ++current_step_index();
   }
-//?   cerr << "AAA 9\n"; //? 1
+//?   cerr << "AAA 9\n"; //? 2
   stop_running_current_routine:;
 }
 
@@ -164,13 +164,14 @@ load_permanently("core.mu");
 :(code)
 // helper for tests
 void run(string form) {
-//?   cerr << "AAA 2\n"; //? 1
+//?   cerr << "AAA 2\n"; //? 2
+//?   cerr << form << '\n'; //? 1
   vector<recipe_number> tmp = load(form);
   if (tmp.empty()) return;
   transform_all();
-//?   cerr << "AAA 3\n"; //? 1
+//?   cerr << "AAA 3\n"; //? 2
   run(tmp.front());
-//?   cerr << "YYY\n"; //? 1
+//?   cerr << "YYY\n"; //? 2
 }
 
 //:: Reading from memory, writing to memory.