fix some tests (#29729)

* non airlock stuff

* pain unending

* comment local test define back out

* this needs a room to spawn mobs in
This commit is contained in:
warriorstar-orion
2025-07-09 14:16:36 +00:00
committed by GitHub
parent ec374c69d5
commit 064f0ce221
20 changed files with 102 additions and 89 deletions
+4 -3
View File
@@ -27,7 +27,7 @@
// Run map tests first in case unit tests futz with map state
RunMap()
#endif
#ifdef GAME_TESTS
#if defined(GAME_TESTS) || defined(MAP_TESTS)
Run()
#endif
SSticker.reboot_helper("Unit Test Reboot", "tests ended", 0)
@@ -36,7 +36,7 @@
log_world("Test runner: game tests.")
CHECK_TICK
for(var/I in subtypesof(/datum/game_test))
for(var/I in subtypesof(/datum/game_test) - /datum/game_test/room_test)
var/datum/game_test/test = new I
test_logs[I] = list()
@@ -95,9 +95,10 @@
QDEL_LIST_CONTENTS(tests)
/datum/test_runner/proc/Finalize(emit_failures = FALSE)
set waitfor = FALSE
log_world("Test runner: finalizing.")
var/time = world.timeofday
set waitfor = FALSE
#ifdef LOCAL_GAME_TESTS
emit_failures = TRUE