summaryrefslogtreecommitdiffstats
path: root/tests/test_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_main.cpp')
-rw-r--r--tests/test_main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_main.cpp b/tests/test_main.cpp
index e2808f3aac..6b6257e25d 100644
--- a/tests/test_main.cpp
+++ b/tests/test_main.cpp
@@ -135,6 +135,8 @@ int test_main(int argc, char *argv[]) {
OS::get_singleton()->set_cmdline("", args, List<String>());
DisplayServerMock::register_mock_driver();
+ WorkerThreadPool::get_singleton()->init();
+
// Run custom test tools.
if (test_commands) {
for (const KeyValue<String, TestFunc> &E : (*test_commands)) {