From a7ad650e22615bfa27a555c1518b4654f151eb96 Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Sun, 14 Jul 2024 08:16:59 -0400 Subject: [PATCH] fix: Prevent backgrounding of unit tests. (#26229) --- code/modules/unit_tests/test_runner.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/unit_tests/test_runner.dm b/code/modules/unit_tests/test_runner.dm index 30ecb0292dd..8ac625e5c12 100644 --- a/code/modules/unit_tests/test_runner.dm +++ b/code/modules/unit_tests/test_runner.dm @@ -43,6 +43,8 @@ if(test.failure_count >= MAX_MAP_TEST_FAILURE_COUNT) test.Fail(T, "failure threshold reached at this tile") + CHECK_TICK + for(var/datum/map_per_tile_test/test in tests) if(!test.succeeded) failed_any_test = TRUE