diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2022-02-07 08:39:44 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-02-07 11:45:25 +0300 |
commit | 4a5c9217b48ae3d491de88dd2c6998a055a31284 (patch) | |
tree | 7c588de7a4ee14e9c6977859e14acdab9e342942 /ChangeLog | |
parent | 5c1625c8e60d7de2cde59708b16f2a330a78b0c3 (diff) | |
download | bdwgc-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 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -13,7 +13,7 @@ * Do not put atomic_ops[_sysdeps].o to libgc.a in Makefile.direct * Do not treat warnings as errors by default in digimars.mak * Enable without_libatomic_ops for targets requiring atomic_ops.c (CMake) -* Fail threadkey_test on pthread_create error in main loop +* Fail threadkeytest on pthread_create error in main loop * Fix digimars.mak to build 'all' by default * Make all functions static in msvc_dbg.c except for backtrace[_symbols] * Mention CMake-based build in README.md and README.QUICK @@ -25,7 +25,7 @@ * Print iteration number on thread creation or join failure in tests * Print thread number on marker thread creation failure * Put gc_badalc/cpp.cpp instead of .cc ones in CMake script (MSVC/BCC/WCC) -* Relax required dependencies for test_atomic_ops (CMake) +* Relax required dependencies for atomicopstest (CMake) * Remove GC_copyright symbol * Remove IF_IA64 macro in pthread_stop_world (refactoring) * Remove Symbian makefile @@ -38,7 +38,7 @@ * State explicitly that license is MIT-style * Support CFLAGS_EXTRA in rare build scripts (NT/WCC_MAKEFILE, digimars.mak) * Try find libatomic_ops installed by cmake if with_libatomic_ops (CMake) -* Use GC_printf in test_cpp consistently (refactoring) +* Use GC_printf in cpptest consistently (refactoring) == [8.2.2] (not released yet) == |