]> thyrsus.com Git - intercal.git/commitdiff
New regression test featuring yapp.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 27 Aug 2010 15:20:59 +0000 (11:20 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 27 Aug 2010 15:20:59 +0000 (11:20 -0400)
pit/CATALOG
pit/Makefile
pit/yapp.tst [new file with mode: 0644]

index eea65649b122ec8edbb04600f080cea86b6f46d6..e211e26ba607f01fe46ab895362134616f0c4946 100644 (file)
@@ -83,7 +83,7 @@ By Brian Raiter <breadbox@muppetlabs.com>
   tests/hello.i     + The traditional hello world program
   ins.i             Intersections & Splats, a Mastermind-style game
   ins.doc           Documentation for I&S
-  yapp.i            Prints an INTERCAL program that prints
+  yapp.i            + Prints an INTERCAL program that prints
   yapp.doc          Description of yapp.i
   quine.i           + Prints itself
   lib/floatlib.i    Floating-point routines
index 53c8ad3cf9b41f2096ae8ab9f9a30449d87aa0af..ef72812b9f33af9c9e50550a9cdbbebd28585c60 100644 (file)
@@ -36,7 +36,6 @@ BASE2SOURCES = \
        ./rot13b.i \
        ./sample.i \
        ./sort.i \
-       ./tpk.i \
        ./tests/hello.i \
        ./tests/iogerunds.i \
        ./tests/limits.i \
@@ -49,6 +48,7 @@ BASE2SOURCES = \
        ./tests/testcf.i \
        ./tests/testlib2.i \
        ./tests/testsplat.i \
+       ./tpk.i \
        ./yapp.i
 
 BASENSOURCES = \
@@ -99,6 +99,7 @@ test: $(TARGETS)
        @cp quine.i quine.chk; ./quine | ./regresscheck quine; rm quine.chk 
        @cat sort.tst | ./sort | ./regresscheck sort
        @cat tpk.tst | ./tpk | ./regresscheck tpk
+       @cat yapp.tst | yapp >yapptest.i && $(ICK) yapptest.i && yapptest | regresscheck -c yapp.tst yapp; rm -f yapptest.i yapptest
        @./tests/count | ./regresscheck tests/count 
        @./tests/hello | ./regresscheck tests/hello 
        @./tests/permute | ./regresscheck tests/permute 
@@ -107,6 +108,7 @@ test: $(TARGETS)
        @cat tests/test2.tst | ./tests/test2 | ./regresscheck tests/test2
        @echo "Tests complete."
 
+
 # Needs special handling because the -m option is required
 tests/permute: tests/permute.i
        $(ICK) -m tests/permute.i
diff --git a/pit/yapp.tst b/pit/yapp.tst
new file mode 100644 (file)
index 0000000..918beff
--- /dev/null
@@ -0,0 +1 @@
+THE QUICK BROWN FOX JUMPED OVER THE LAZY DOG.