fix test-requeue so it is no longer bogus
authoradam <adam@megacz.com>
Thu, 21 Aug 2008 10:21:45 +0000 (11:21 +0100)
committeradam <adam@megacz.com>
Thu, 21 Aug 2008 10:21:45 +0000 (11:21 +0100)
tests/requeue/test-requeue.fleet

index 154f7a0..063a1cb 100644 (file)
 #ship alu   : Alu2
 #ship debug : Debug
 
-// this test is bogus to begin with; doesn't have proper flow control
-
 alu.inOp:  literal Alu2.inOp[ADD];
            [*] deliver;
 
-debug.in:  [*] take, deliver;
+debug.in:  [*] take, deliver, notify alu.out;
 
 alu.in2:   literal 4;
            [*] deliver;
@@ -56,6 +54,7 @@ alu.in2:   literal 4;
 alu.out:   load loop counter with 40;
            [L] take, sendto alu.in1;
            [L] sendto debug.in;
+           [L] wait;
            tail;
 
 alu.in1:   literal 2;