diff options
author | rpj <rpj> | 2005-04-01 09:00:27 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-04-01 09:00:27 +0000 |
commit | f7d9daf2243a111623aff7856b24632ef49cefcc (patch) | |
tree | 8bc4fabc31812fb64d2d4ac558f07908757b01a6 /tests/GNUmakefile | |
parent | f6f9976af7a520dd1aeced4f104f4d4711f28e23 (diff) |
''
Diffstat (limited to 'tests/GNUmakefile')
-rw-r--r-- | tests/GNUmakefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/GNUmakefile b/tests/GNUmakefile index 08709a8..4ecce80 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 |