summaryrefslogtreecommitdiff
path: root/WCC_MAKEFILE
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2019-07-07 15:56:12 +0300
committerIvan Maidanski <ivmai@mail.ru>2019-07-16 10:19:40 +0300
commitb2eef638ca7e599cd531c7c9d86e145d55bede02 (patch)
tree92732abb2947a29d38b2e5ef91758d35857fb7ce /WCC_MAKEFILE
parentbc6ebe4e0d176745831465fb9a288b37b93854e6 (diff)
downloadbdwgc-b2eef638ca7e599cd531c7c9d86e145d55bede02.tar.gz
Do not build tests by default (Makefile.direct and other Makefiles)
This is to match the behavior of configure-based Makefile and the CMake script. Tests are built and executed now by `make check`. * BCC_MAKEFILE (all): Depend on gc.lib only (instead of gctest, de and test_cpp). * OS2_MAKEFILE (all): Likewise. * BCC_MAKEFILE (check): New target to build and run the tests (de is not executed). * NT_MAKEFILE (check): Likewise. * Makefile.direct (all): Remove dependency on gctest. * NT_MAKEFILE (all): Remove dependency on gctest, de and test_cpp; add dependency on gc.lib. * OS2_MAKEFILE (check): New target to build and run gctest and cordtest. * README.QUICK (INSTALLATION): Change "make test" to "make check". * README.md (Installation and Portability): Likewise. * doc/README.arm.cross: Likewise. * SMakefile.amiga (all): Depend on gc.lib and cord.lib only (instead of gctest, setjmp_t, cordtest). * SMakefile.amiga (test): Rename to "check". * WCC_MAKEFILE (all): Remove dependency on gctest and test_cpp. * digimars.mak (targets): Likewise. * WCC_MAKEFILE (check): New symbolic target to build and run gctest and test_cpp. * digimars.mak (check): Likewise. * digimars.mak (gc.lib): New target (depend on gc.dll target). * doc/README.win32 (Watcom compiler): Remove information that wmake compiles the tests by default. * doc/README.win64: Update information about tests building.
Diffstat (limited to 'WCC_MAKEFILE')
-rw-r--r--WCC_MAKEFILE6
1 files changed, 5 insertions, 1 deletions
diff --git a/WCC_MAKEFILE b/WCC_MAKEFILE
index 61a1db53..0eadd76a 100644
--- a/WCC_MAKEFILE
+++ b/WCC_MAKEFILE
@@ -78,7 +78,11 @@ OBJS= alloc.obj reclaim.obj allchblk.obj misc.obj &
dbg_mlc.obj malloc.obj dyn_load.obj &
typd_mlc.obj ptr_chck.obj mallocx.obj fnlz_mlc.obj gcj_mlc.obj
-all: gc.lib gctest.exe test_cpp.exe
+all: gc.lib
+
+check: gctest.exe test_cpp.exe .SYMBOLIC
+ *gctest.exe
+ *test_cpp.exe
!ifdef MAKE_AS_DLL