summaryrefslogtreecommitdiff
path: root/WCC_MAKEFILE
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-02-07 08:39:44 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-02-07 11:45:25 +0300
commit4a5c9217b48ae3d491de88dd2c6998a055a31284 (patch)
tree7c588de7a4ee14e9c6977859e14acdab9e342942 /WCC_MAKEFILE
parent5c1625c8e60d7de2cde59708b16f2a330a78b0c3 (diff)
downloadbdwgc-4a5c9217b48ae3d491de88dd2c6998a055a31284.tar.gz
Name all tests consistently
(refactoring) In brief, the tests naming as follows: all test executable files end with "test" (not "_test"); all test source files do not have "test" suffix (except for gctest); test.c is named now as gctest.c. * CMakeLists.txt: Rename leak_test.c to leak.c; rename huge_test.c to huge.c; rename leak_test.c to leak.c; rename realloc_test.c to realloc.c; rename smash_test.c to smash.c; rename staticrootslib.c to staticroots_lib.c; rename trace_test.c to trace.c; rename thread_leak_test.c to threadleak.c; rename threadkey_test to threadkey_test; rename threadkey_test.c to threadkey.c; rename subthreadcreate_test to subthreadcreatetest; rename subthread_create.c to subthreadcreate.c; rename initsecondarythread_test to initfromthreadtest; rename initsecondarythread.c to initfromthread.c; rename disclaim_test to disclaimtest; rename disclaim_test.c to disclaim.c; rename disclaim_weakmap_test to weakmaptest; rename disclaim_weakmap_test.c to weakmap.c. * tests/tests.am: Likewise. * CMakeLists.txt: Rename test.c to gctest.c; rename test_cpp to cpptest; rename test_cpp.cc to cpp.cc. * Makefile.direct: Likewise. * NT_MAKEFILE: Likewise. * README.md (Installation and Portability): Likewise. * WCC_MAKEFILE: Likewise. * digimars.mak: Likewise. * doc/README.Mac: Likewise. * tests/tests.am: Likewise. * CMakeLists.txt: rename test_atomic_ops.c to atomicops.c; rename test_atomic_ops to atomicopstest. * configure.ac [$with_libatomic_ops=check]: Likewise. * ChangeLog (8.3.0): Rename threadkey_test to threadkeytest; rename test_atomic_ops to atomicopstest; rename test_cpp to cpptest. * Makefile.direct: Rename test.o to gctest.o. * NT_MAKEFILE: Rename test_cpp.exe to cpptest.exe; rename test.obj to gctest.obj. * WCC_MAKEFILE: Likewise. * digimars.mak: Likewise. * doc/README.win64: Likewise. * configure.ac: Rename test_cpp to cpptest in comment. * doc/leak.md: Rename leak_test.c to leak.c. * tests/test_atomic_ops.c: Rename to atomicops.c; remove test name in "skipped" message. * tests/test_cpp.cc: Rename to cpp.cc; rename test_cpp to cpptest. * tests/disclaim_test.c: Rename to disclaim.c. * tests/test.c: Rename to gctest.c. * tests/huge_test.c: Rename to huge.c. * tests/initsecondarythread.c: Rename to initfromthread.c. * tests/leak_test.c: Rename to leak.c. * tests/realloc_test.c: Rename to realloc.c. * tests/smash_test.c: Rename to smash.c. * tests/staticrootstest.c: Rename to staticroots.c. * tests/staticrootslib.c: Rename to staticroots_lib.c. * tests/subthread_create.c: Rename to subthreadcreate.c; remove test name in printed messages. * tests/threadkey_test.c: Rename to threadkey.c; remove test name in "skipped" message. * tests/thread_leak_test.c: Rename to threadleak.c. * tests/trace_test.c: Rename to trace.c. * tests/disclaim_weakmap_test.c: Rename to weakmap.c; rename disclaim_test.c to disclaim.c in comment.
Diffstat (limited to 'WCC_MAKEFILE')
-rw-r--r--WCC_MAKEFILE20
1 files changed, 10 insertions, 10 deletions
diff --git a/WCC_MAKEFILE b/WCC_MAKEFILE
index 57dccbdb..337ca19d 100644
--- a/WCC_MAKEFILE
+++ b/WCC_MAKEFILE
@@ -83,11 +83,11 @@ COBJS= cordbscs.obj cordxtra.obj cordprnt.obj
all: gc.lib gccpp.lib gctba.lib cord.lib
-check-deps: gctest.exe test_cpp.exe cordtest.exe .SYMBOLIC
+check-deps: gctest.exe cpptest.exe cordtest.exe .SYMBOLIC
check: check-deps .SYMBOLIC
*gctest.exe
- *test_cpp.exe
+ *cpptest.exe
*cordtest.exe
!ifdef ENABLE_STATIC
@@ -201,7 +201,7 @@ gctba.dll: gc_badalc.obj gc.lib .AUTODEPEND
!endif
-gctest.exe: test.obj gc.lib
+gctest.exe: gctest.obj gc.lib
%create $*.lnk
!ifdef DOS4GW
@%append $*.lnk sys dos4g
@@ -213,7 +213,7 @@ gctest.exe: test.obj gc.lib
@%append $*.lnk op case
@%append $*.lnk op stack=256K
@%append $*.lnk name $*
- @%append $*.lnk file test.obj
+ @%append $*.lnk file gctest.obj
@%append $*.lnk library gc.lib
*wlink @$*.lnk
@@ -234,7 +234,7 @@ cordtest.exe: cordtest.obj gc.lib cord.lib
@%append $*.lnk library cord.lib
*wlink @$*.lnk
-test_cpp.exe: test_cpp.obj gc.lib gccpp.lib
+cpptest.exe: cpptest.obj gc.lib gccpp.lib
%create $*.lnk
!ifdef DOS4GW
@%append $*.lnk sys dos4g
@@ -246,7 +246,7 @@ test_cpp.exe: test_cpp.obj gc.lib gccpp.lib
@%append $*.lnk op case
@%append $*.lnk op stack=256K
@%append $*.lnk name $*
- @%append $*.lnk file test_cpp.obj
+ @%append $*.lnk file cpptest.obj
@%append $*.lnk library gc.lib
@%append $*.lnk library gccpp.lib
*wlink @$*.lnk
@@ -263,12 +263,12 @@ gc_badalc.obj: gc_badalc.cc .AUTODEPEND
gc_cpp.obj: gc_cpp.cc .AUTODEPEND
$(CXX) $(TEST_CXXFLAGS) $*.cc
-test.obj: tests\test.c .AUTODEPEND
- $(CC) $(TEST_CFLAGS) /wcd=13 /wcd=201 /wcd=367 /wcd=368 tests\test.c
+gctest.obj: tests\gctest.c .AUTODEPEND
+ $(CC) $(TEST_CFLAGS) /wcd=13 /wcd=201 /wcd=367 /wcd=368 tests\gctest.c
cordtest.obj: cord\tests\cordtest.c .AUTODEPEND
$(CC) $(TEST_CFLAGS) $(CORDFLAG) cord\tests\cordtest.c
-test_cpp.obj: tests\test_cpp.cc .AUTODEPEND
- $(CXX) $(TEST_CXXFLAGS) tests\test_cpp.cc
+cpptest.obj: tests\cpp.cc .AUTODEPEND
+ $(CXX) $(TEST_CXXFLAGS) -fo=cpptest.obj tests\cpp.cc
.c.obj: .AUTODEPEND
$(CC) $(CFLAGS) $*.c