summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorrpj <rpj>1999-03-14 05:29:18 +0000
committerrpj <rpj>1999-03-14 05:29:18 +0000
commitf8af93c39f8deebc46aee1b25be9d5c40035d0d8 (patch)
tree6874f918fe82259682384ccfd2539cf62e6cd217 /tests/Makefile
parentc181e5bb2ccf9d351553eaadf66578df441024a6 (diff)
Mon Mar 15 00:20:13 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>snap-1999-03-15
* condvar.c (pthread_cond_init): fix possible uninitialised use of cv. Sun Mar 14 21:01:59 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * condvar.c (pthread_cond_destroy): don't do full cleanup if static initialised cv has never been used. (cond_timedwait): check result of auto-initialisation. tests/ChangeLog Mon Mar 15 00:17:55 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * mutex1.c: only test mutex init and destroy; add assertions. * count1.c: raise number of spawned threads to 60 (appears to be the limit under Win98). Sun Mar 14 21:31:02 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * test.h (assert): add assertion trace option. Use: "#define ASSERT_TRACE 1" to turn it on, "#define ASSERT_TRACE 0" to turn it off (default). * condvar3.c (main): add more assertions. * condvar4.c (main): add more assertions. * condvar1.c (main): add more assertions.
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile28
1 files changed, 25 insertions, 3 deletions
diff --git a/tests/Makefile b/tests/Makefile
index e5994f6..430eed2 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -33,15 +33,37 @@ DLL = pthread.dll
# If a test case returns a non-zero exit code to the shell, make will
# stop.
-TESTS = count1 create1 equal1 exit1 exit2 exit3 \
- join1 mutex1 mutex2 mutex3 \
- once1 self1 self2 condvar1 condvar2 condvar3 condvar4 tsd1
+TESTS = mutex1 condvar1 condvar2 exit1 create1 equal1 \
+ exit2 exit3 \
+ join1 mutex2 mutex3 \
+ count1 once1 tsd1 self1 self2 eyal1 \
+ condvar3 condvar4
PASSES = $(TESTS:%=%.pass)
all: $(PASSES)
@ $(ECHO) ALL TESTS PASSED! Congratulations!
+mutex1.pass:
+mutex2.pass:
+exit1.pass:
+condvar1.pass:
+self1.pass:
+condvar2.pass: condvar1.pass
+create1.pass: mutex2.pass
+mutex3.pass: create1.pass
+equal1.pass: create1.pass
+exit2.pass: create1.pass
+exit3.pass: create1.pass
+join1.pass: create1.pass
+count1.pass: join1.pass
+once1.pass: create1.pass
+tsd1.pass: join1.pass
+self2.pass: create1.pass
+eyal1.pass: tsd1.pass
+condvar3.pass: create1.pass
+condvar4.pass: create1.pass
+
%.pass: %.exe $(LIB) $(DLL) $(HDR)
$*
@$(ECHO) Passed