]> thyrsus.com Git - intercal.git/commitdiff
tests/testonce is now part of the regression-test suite.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 28 Aug 2010 07:03:51 +0000 (03:03 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 28 Aug 2010 07:03:51 +0000 (03:03 -0400)
Still needs to be documented, though.

pit/CATALOG
pit/Makefile
pit/tests/testonce.chk [new file with mode: 0644]

index 2d4174ededc458aea21a6a5d6a6fd5a32e1bfe89..93e3b9a01a74fc6ebded8009ad0969481e09a7e1 100644 (file)
@@ -139,7 +139,7 @@ by Alex Smith
   continuation.doc    About usage and internals of the continuation library
 
 by Malcom Ryan
-  tests/testonce.i    A single-threaded program testing ONCE and AGAIN
+  tests/testonce.i    + A single-threaded program testing ONCE and AGAIN
   pass.i              A multithread program illustrating communications
                      between threads
 
index ef72812b9f33af9c9e50550a9cdbbebd28585c60..39899db9d220357786a6dc94c8c20b5859ec966b 100644 (file)
@@ -105,6 +105,7 @@ test: $(TARGETS)
        @./tests/permute | ./regresscheck tests/permute 
        @./tests/sink 2>&1 | ./regresscheck tests/sink
        @./tests/test1 2>&1 | ./regresscheck tests/test1 
+       @./tests/testonce | ./regresscheck tests/testonce 
        @cat tests/test2.tst | ./tests/test2 | ./regresscheck tests/test2
        @echo "Tests complete."
 
diff --git a/pit/tests/testonce.chk b/pit/tests/testonce.chk
new file mode 100644 (file)
index 0000000..50e4581
--- /dev/null
@@ -0,0 +1,32 @@
+  
+II
+ 
+I
+ 
+I
+  
+II
+ 
+I
+  
+II
+  
+II
+ 
+I
+  
+II
+  
+II
+ 
+I
+  
+II
+ 
+I
+ 
+I
+  
+II
+ 
+I