projects
/
fleet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add two test cases: one-instruction-loop.fleet and infinite-nop-is-torpedoable.fleet
[fleet.git]
/
tests
/
torpedo
/
basic-torpedo.test
diff --git
a/tests/torpedo/basic-torpedo.test
b/tests/torpedo/basic-torpedo.test
index
ed611b3
..
6181121
100644
(file)
--- a/
tests/torpedo/basic-torpedo.test
+++ b/
tests/torpedo/basic-torpedo.test
@@
-1,16
+1,18
@@
+#skip
#expect 20
#ship debug : Debug
#ship fifo : Fifo
debug.in:
#expect 20
#ship debug : Debug
#ship fifo : Fifo
debug.in:
- [L] nop;
- notify fifo.out;
- [I] [*] wait;
- [+] literal 20;
- [+] deliver;
+ [Rq] nop;
+ send token to fifo.out;
+ set ilc=*;
+ [T] recv token;
+ [*] set word= 20;
+ [*] deliver;
tail;
fifo.out:
tail;
fifo.out:
- wait;
- notify debug.in:i;
+ recv token;
+ send token to debug.in:i;