]> thyrsus.com Git - intercal.git/commitdiff
Regreesion test featuring tests/testplat.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 30 Aug 2010 09:20:50 +0000 (05:20 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 30 Aug 2010 09:20:50 +0000 (05:20 -0400)
pit/CATALOG
pit/Makefile
pit/tests/testsplat.chk [new file with mode: 0644]

index edfd48829e23e2705430f4a9b52192a36ee60c66..6c92ba59019120a726feabeb652fd269c52c6434 100644 (file)
@@ -58,6 +58,8 @@ by Louis Howell <nazgul@netcom.com>
   iching.doc                   Description of the two I Ching programs
   change.i             Count up different ways to make change
   change.doc           Description of change.i
+  tests/testsplat.i    + Tests behavior of comments and things resembling
+                       comments.
 
 by Matt Dimeo <mdimeo@brooktree.com>
   beer.i               + Print out lyrics to "99 Bottles of Beer On The Wall"
@@ -156,14 +158,14 @@ by Malcom Ryan
                        between threads.  Simply reads in a list of
                        numbers (terminated by ZERO) and writes them out.
 
-The programs test16bit.i, testarray.i, testcf.i, testlib2.i,
-limits.*, testops*i, testsplat.i, were all written by Louis
-Howell.  Of these, testcf.i might be considered an interesting
-puzzle---try to figure out what it's doing.  The others are pretty
-boring, but are included as diagnostics and because so few other
-example programs exist.  Not all of these even produce interesting
-diagnostic output; it may be necessary to look at the degenerated C
-code to determine if the compiler is doing the right thing.
+The programs test16bit.i, testarray.i, testcf.i, testlib2.i, limits.*,
+testops*i, were all written by Louis Howell.  Of these, testcf.i might
+be considered an interesting puzzle---try to figure out what it's
+doing.  The others are pretty boring, but are included as diagnostics
+and because so few other example programs exist.  Not all of these
+even produce interesting diagnostic output; it may be necessary to
+look at the degenerated C code to determine if the compiler is doing
+the right thing.
 
 End of file CATALOG
 -------------------
index 381903a2f1f85721f220e3c8f3b0bd6b8bac51c8..da841eaf62c64db9acbfd4bdc150c26f9170d1cc 100644 (file)
@@ -127,6 +127,7 @@ test: $(TARGETS)
        @./tests/test1 2>&1 | ./regresscheck tests/test1 
        @cat tests/test2.tst | ./tests/test2 | ./regresscheck tests/test2
        @./tests/testonce | ./regresscheck tests/testonce 
+       @./tests/testsplat 2>&1 | ./regresscheck tests/testsplat 
        @cat tests/whileadd.tst | ./tests/whileadd | ./regresscheck tests/whileadd
        @echo "Tests complete."
 
diff --git a/pit/tests/testsplat.chk b/pit/tests/testsplat.chk
new file mode 100644 (file)
index 0000000..e5ba681
--- /dev/null
@@ -0,0 +1,9 @@
+ 
+I
+  
+II
+   
+III
+ICL000I                DO %50 RED OUT #4       DO READ OUT #5
+       ON THE WAY TO 4
+        CORRECT SOURCE AND RESUBNIT