summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-08-04 15:55:45 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-08-04 22:03:44 +0200
commit62423b691eff1da8a93a76e1149a1ba1e3ed46b1 (patch)
tree2c6b09ccdc5544237595c78f22389e63b1c90800 /main
parentdaa1220a8605be05a2d0cd1c2def71238fcb15ac (diff)
Tests: Silence some intentional errors
Also fix printing messages in ClassDB test.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index fe510d1c9c..4c4377a174 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -431,6 +431,7 @@ Error Main::test_setup() {
/** INITIALIZE SERVERS **/
register_server_types();
+ XRServer::set_xr_mode(XRServer::XRMODE_OFF); // Skip in tests.
initialize_modules(MODULE_INITIALIZATION_LEVEL_SERVERS);
NativeExtensionManager::get_singleton()->initialize_extensions(NativeExtension::INITIALIZATION_LEVEL_SERVERS);