testament: remove deadcode related to realtimeGC, testC, callCCompiler (#18087)
This commit is contained in:
parent
3b1aabdcff
commit
1e0165186b
6 changed files with 15 additions and 162 deletions
|
|
@ -28,7 +28,6 @@ const
|
|||
"js",
|
||||
"ic",
|
||||
"lib",
|
||||
"longgc",
|
||||
"manyloc",
|
||||
"nimble-packages",
|
||||
"niminaction",
|
||||
|
|
@ -39,7 +38,6 @@ const
|
|||
"coroutines",
|
||||
"osproc",
|
||||
"shouldfail",
|
||||
"dir with space",
|
||||
"destructor"
|
||||
]
|
||||
|
||||
|
|
@ -156,19 +154,6 @@ proc gcTests(r: var TResults, cat: Category, options: string) =
|
|||
test "cyclecollector"
|
||||
testWithoutBoehm "trace_globals"
|
||||
|
||||
proc longGCTests(r: var TResults, cat: Category, options: string) =
|
||||
when defined(windows):
|
||||
let cOptions = "-ldl -DWIN"
|
||||
else:
|
||||
let cOptions = "-ldl"
|
||||
|
||||
var c = initResults()
|
||||
# According to ioTests, this should compile the file
|
||||
testSpec c, makeTest("tests/realtimeGC/shared", options, cat)
|
||||
# ^- why is this not appended to r? Should this be discarded?
|
||||
testC r, makeTest("tests/realtimeGC/cmain", cOptions, cat), actionRun
|
||||
testSpec r, makeTest("tests/realtimeGC/nmain", options & "--threads: on", cat)
|
||||
|
||||
# ------------------------- threading tests -----------------------------------
|
||||
|
||||
proc threadTests(r: var TResults, cat: Category, options: string) =
|
||||
|
|
@ -186,6 +171,11 @@ proc ioTests(r: var TResults, cat: Category, options: string) =
|
|||
# dummy compile result:
|
||||
var c = initResults()
|
||||
testSpec c, makeTest("tests/system/helpers/readall_echo", options, cat)
|
||||
# ^- why is this not appended to r? Should this be discarded?
|
||||
# EDIT: this should be replaced by something like in D20210524T180826,
|
||||
# likewise in similar instances where `testSpec c` is used, or more generally
|
||||
# when a test depends on another test, as it makes tests non-independent,
|
||||
# creating complications for batching and megatest logic.
|
||||
testSpec r, makeTest("tests/system/tio", options, cat)
|
||||
|
||||
# ------------------------- async tests ---------------------------------------
|
||||
|
|
@ -687,8 +677,6 @@ proc processCategory(r: var TResults, cat: Category,
|
|||
dllTests(r, cat, options)
|
||||
of "gc":
|
||||
gcTests(r, cat, options)
|
||||
of "longgc":
|
||||
longGCTests(r, cat, options)
|
||||
of "debugger":
|
||||
debuggerTests(r, cat, options)
|
||||
of "manyloc":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue