]> thyrsus.com Git - intercal.git/commitdiff
Regression test featuring testcreate.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 30 Aug 2010 05:56:24 +0000 (01:56 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 30 Aug 2010 05:56:24 +0000 (01:56 -0400)
.gitignore
pit/CATALOG
pit/Makefile
pit/tests/testcreate.chk [new file with mode: 0644]

index 985a06e383518d41464ba4b15fd4823858ad8880..e13bd9fba88335d38dd51a89ccca5b981abff1a5 100644 (file)
@@ -81,6 +81,7 @@ pit/tests/test16bit
 pit/tests/test2
 pit/tests/testarray
 pit/tests/testcf
+pit/tests/testcreate
 pit/tests/testlib2
 pit/tests/testonce
 pit/tests/testops3
index 5f68c887918137310a200ed0504e9322d21fa0f8..191601412c8d9444d2be448c4510aba22156fc0a 100644 (file)
@@ -124,7 +124,8 @@ by Alex Smith
   tests/ais2.i         A demonstration of computed ABSTAIN's power
   tests/compucome.i    A program to test computed COME FROM
   tests/onceagain.i    + A single-threaded program testing ONCE and AGAIN
-  tests/arrtest.i      A program to test some changes I made to the grammar
+  tests/arrtest.i      A program to test some changes I made to the grammar.
+                       No output expected as it's just a parser test.
   tests/arrtest.doc    The history behind those changes
   tests/permute.i      + A permutation-printing program to test backtracking
   tests/permute.doc    Information about the permutation-printer
@@ -132,7 +133,7 @@ by Alex Smith
   tests/ignorret.i     + Testing interactions of IGNORE and RETRIEVE
   tests/ignorret.doc   What ignorret does on several compilers
   tests/normaldist.i   Checking the standard deviation of (1910)
-  tests/testcreate.i   A test for the CREATE statement
+  tests/testcreate.i   + A test for the CREATE statement
   tests/iffit1.i       The INTERCAL side of the INTERCAL/Funge-98 test
   tests/iffit2.b98     The Funge side of the INTERCAL/Funge-98 test
   tests/iffit.doc      Documentation for the INTERCAL/Funge-98 test
index eedb1229c92ed8c89edfed13e70254589b6e5015..864cf0c0863a56c6a846e33ac9a9c22eb19b27a3 100644 (file)
@@ -50,6 +50,7 @@ BASE2SOURCES = \
        ./tests/test2.i \
        ./tests/testarray.i \
        ./tests/testcf.i \
+       ./tests/testcreate .i \
        ./tests/testlib2.i \
        ./tests/testonce \
        ./tests/testsplat.i \
@@ -124,13 +125,15 @@ test: $(TARGETS)
        @echo "Tests complete."
 
 
-# Needs special handling because the -m option is required
+# Some tests need options to compile extensions.
 fft: fft.i
        $(ICK) -m fft.i
 tests/permute: tests/permute.i
        $(ICK) -m tests/permute.i
 tests/whileadd: tests/whileadd.i
        $(ICK) -m tests/whileadd.i
+tests/testcreate: tests/testcreate.i
+       $(ICK) -a tests/testcreate.i
 
 lines:
        wc -l $(SOURCES)
diff --git a/pit/tests/testcreate.chk b/pit/tests/testcreate.chk
new file mode 100644 (file)
index 0000000..6cd5f45
--- /dev/null
@@ -0,0 +1,4 @@
+  
+VI
+ 
+V