re-enable test-use-loop-counter.fleet
authoradam <adam@megacz.com>
Mon, 27 Oct 2008 06:38:33 +0000 (07:38 +0100)
committeradam <adam@megacz.com>
Mon, 27 Oct 2008 06:38:33 +0000 (07:38 +0100)
tests/dock/test-use-loop-counter.fleet

index 46e112e..fab816c 100644 (file)
@@ -1,4 +1,3 @@
-#skip
 #expect 5
 #expect 7
 #expect 5
 #ship fifo         : Fifo
 #ship fifo2        : Fifo
 
-debug.in: set ilc=*;  recv, deliver;
+debug.in:
+   set ilc=*;
+   recv, deliver;
 
-fifo.out: set ilc=*;  collect, send to debug.in;
+fifo.out:
+   set ilc=*;
+   collect, send to debug.in;
 
 fifo.in:
-  set olc=2;
-  [Rq] nop;
-  [Rq] set word= 5;
+  set olc=3;
+  [Rq] set word=5;
   [Rq] deliver;
   [Rq] send token to memory.inCBD;
   [Rq] recv, deliver;
@@ -27,17 +29,23 @@ fifo.in:
   tail;
 
 fifo2.out:
-  set word= 7;
-  set ilc=4;
+  set word=7;
+  set ilc=3;
   send to fifo.in;
 
-memory.inCBD: set word= {
-    fifo.in:
-       set word= 9;
-       deliver;
-  };
+memory.out:
+  set ilc=*;
+  collect packet, send;
+
+memory.inCBD:
   recv nothing;
   recv nothing;
   recv nothing;
+  set word={
+    fifo.in:
+       [*] set olc=1;
+       set word=9;
+       deliver;
+  };
   deliver;