From 6cafe23fa0f64fe7ab92159450468c823b8298b5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 30 Aug 2010 01:56:24 -0400 Subject: [PATCH] Regression test featuring testcreate. --- .gitignore | 1 + pit/CATALOG | 5 +++-- pit/Makefile | 5 ++++- pit/tests/testcreate.chk | 4 ++++ 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 pit/tests/testcreate.chk diff --git a/.gitignore b/.gitignore index 985a06e..e13bd9f 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/pit/CATALOG b/pit/CATALOG index 5f68c88..1916014 100644 --- a/pit/CATALOG +++ b/pit/CATALOG @@ -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 diff --git a/pit/Makefile b/pit/Makefile index eedb122..864cf0c 100644 --- a/pit/Makefile +++ b/pit/Makefile @@ -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 index 0000000..6cd5f45 --- /dev/null +++ b/pit/tests/testcreate.chk @@ -0,0 +1,4 @@ + +VI + +V -- 2.43.0