summaryrefslogtreecommitdiff
path: root/tests/GNUmakefile
diff options
context:
space:
mode:
authorrpj <rpj>2005-04-01 09:13:32 +0000
committerrpj <rpj>2005-04-01 09:13:32 +0000
commit4b8ca0cba45b88803f99b9d91d2a8c7ec7f9f46d (patch)
tree00c397498d8637061ae94bb9051e33245bb998ec /tests/GNUmakefile
parentf63f8cd4f69317850dd5e8d6302acf3fbf849332 (diff)
''
Diffstat (limited to 'tests/GNUmakefile')
-rw-r--r--tests/GNUmakefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/GNUmakefile b/tests/GNUmakefile
index b8b1c91..2f3cf85 100644
--- a/tests/GNUmakefile
+++ b/tests/GNUmakefile
@@ -74,7 +74,6 @@ COPYFILES = $(HDR) $(LIB) $(DLL) $(QAPC)
# If a test case returns a non-zero exit code to the shell, make will
# stop.
-XTESTS = once3
TESTS = sizes loadfree \
self1 mutex5 mutex1 mutex1e mutex1n mutex1r \
semaphore1 semaphore2 semaphore3 \
@@ -108,8 +107,12 @@ TESTS = sizes loadfree \
BENCHTESTS = \
benchtest1 benchtest2 benchtest3 benchtest4 benchtest5
+STATICTESTS = \
+ self1
+
PASSES = $(TESTS:%=%.pass)
BENCHRESULTS = $(BENCHTESTS:%=%.bench)
+STATICRESULTS = $(STATICTESTS:%=%.pass)
help:
@ $(ECHO) "Run one of the following command lines:"
@@ -118,6 +121,7 @@ help:
@ $(ECHO) "make clean GCE (to test using GCE dll with C++ (EH) applications)"
@ $(ECHO) "make clean GC-bench (to benchtest using GNU C dll with C cleanup code)"
@ $(ECHO) "make clean GCE-bench (to benchtest using GNU C dll with C++ exception handling)"
+ @ $(ECHO) "make clean GC-static (to test using GC static lib with C (no EH) applications)"
all:
@ $(MAKE) clean GC
@@ -139,12 +143,20 @@ GC-bench:
GCE-bench:
$(MAKE) TEST=GCE CC=g++ XXCFLAGS="-mthreads -D__CLEANUP_CXX" XXLIBS="benchlib." all-bench
+GC-static:
+ $(MAKE) TEST=GC CC=gcc XXCFLAGS="-D__CLEANUP_C -DPTW32_STATIC_LIB" DLL="" all-static
+
all-pass: $(PASSES)
@ $(ECHO) ALL TESTS PASSED! Congratulations!
all-bench: $(BENCHRESULTS)
@ $(ECHO) BENCH TESTS COMPLETED.
+all-static: $(STATICRESULTS)
+ @ $(ECHO) ALL STATIC TESTS PASSED! Congratulations!
+ @ $(ECHO) Build and test the DLL to run all tests.
+ @ $(ECHO) This test only confirms that the static lib links correctly.
+
benchtest1.bench:
benchtest2.bench:
benchtest3.bench:
@@ -332,4 +344,5 @@ clean:
- $(RM) *.exe
- $(RM) *.pass
- $(RM) *.bench
+ - $(RM) *.static
- $(RM) *.log