From b4078b58758abeea2728344c234c0a4621ef4db6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 28 Aug 2010 03:03:51 -0400 Subject: [PATCH] tests/testonce is now part of the regression-test suite. Still needs to be documented, though. --- pit/CATALOG | 2 +- pit/Makefile | 1 + pit/tests/testonce.chk | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 pit/tests/testonce.chk diff --git a/pit/CATALOG b/pit/CATALOG index 2d4174e..93e3b9a 100644 --- a/pit/CATALOG +++ b/pit/CATALOG @@ -139,7 +139,7 @@ by Alex Smith continuation.doc About usage and internals of the continuation library by Malcom Ryan - tests/testonce.i A single-threaded program testing ONCE and AGAIN + tests/testonce.i + A single-threaded program testing ONCE and AGAIN pass.i A multithread program illustrating communications between threads diff --git a/pit/Makefile b/pit/Makefile index ef72812..39899db 100644 --- a/pit/Makefile +++ b/pit/Makefile @@ -105,6 +105,7 @@ test: $(TARGETS) @./tests/permute | ./regresscheck tests/permute @./tests/sink 2>&1 | ./regresscheck tests/sink @./tests/test1 2>&1 | ./regresscheck tests/test1 + @./tests/testonce | ./regresscheck tests/testonce @cat tests/test2.tst | ./tests/test2 | ./regresscheck tests/test2 @echo "Tests complete." diff --git a/pit/tests/testonce.chk b/pit/tests/testonce.chk new file mode 100644 index 0000000..50e4581 --- /dev/null +++ b/pit/tests/testonce.chk @@ -0,0 +1,32 @@ + +II + +I + +I + +II + +I + +II + +II + +I + +II + +II + +I + +II + +I + +I + +II + +I -- 2.43.0