From: Eric S. Raymond Date: Sat, 28 Aug 2010 15:52:40 +0000 (-0400) Subject: Adde regression test featuring ignorret.i. X-Git-Tag: 0.29~84 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=8b8a624a1800e4e452da878661a79bbcbf05102e;p=intercal.git Adde regression test featuring ignorret.i. --- diff --git a/.gitignore b/.gitignore index cbbf98c..985a06e 100644 --- a/.gitignore +++ b/.gitignore @@ -69,6 +69,7 @@ pit/sample pit/sort pit/tests/count pit/tests/hello +pit/tests/ignorret pit/tests/iogerunds pit/tests/limits pit/tests/limits3 diff --git a/pit/CATALOG b/pit/CATALOG index c03cc95..3ef9121 100644 --- a/pit/CATALOG +++ b/pit/CATALOG @@ -129,7 +129,7 @@ by Alex Smith tests/permute.i + A permutation-printing program to test backtracking tests/permute.doc Information about the permutation-printer tests/whileadd.i + Adds two input numbers with a single WHILE statement - tests/ignorret.i Testing interactions of IGNORE and RETRIEVE + 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 diff --git a/pit/Makefile b/pit/Makefile index 366df1e..840f714 100644 --- a/pit/Makefile +++ b/pit/Makefile @@ -39,6 +39,7 @@ BASE2SOURCES = \ ./sample.i \ ./sort.i \ ./tests/hello.i \ + ./tests/ignorret \ ./tests/iogerunds.i \ ./tests/limits.i \ ./tests/permute.i \ @@ -111,6 +112,7 @@ test: $(TARGETS) @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/ignorret | ./regresscheck tests/ignorret @./tests/permute | ./regresscheck tests/permute @./tests/sink 2>&1 | ./regresscheck tests/sink @./tests/test1 2>&1 | ./regresscheck tests/test1 diff --git a/pit/tests/ignorret.chk b/pit/tests/ignorret.chk new file mode 100644 index 0000000..8c6dadc --- /dev/null +++ b/pit/tests/ignorret.chk @@ -0,0 +1,4 @@ + +II + +II