From 72bc71935e117378a663cbe8fe1931b17ee1663e Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 7 Apr 2024 21:58:48 +0200 Subject: [PATCH] Add more checks --- addons/besseretests/src/runtimescene.gd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/besseretests/src/runtimescene.gd b/addons/besseretests/src/runtimescene.gd index a511c62..dbcba59 100644 --- a/addons/besseretests/src/runtimescene.gd +++ b/addons/besseretests/src/runtimescene.gd @@ -82,6 +82,13 @@ func update_window_properties() -> void: # Perform startup checks func perform_checks() -> void: + ldiag("Performing checks") + # Check for development mode + if config_dev: lwarn("Development mode is active, here be dragons!") + + # Check orphan nodes setting + if config_print_orphan_nodes: lwarn("Bessere Tests is allowed to complain about orphan nodes. It's known that this can lead to false-positive warnings (see #1)") + # Check for testing directory if !DirAccess.dir_exists_absolute(config_test_directory): await lcrash("Testing directory \"" + config_test_directory + "\" does not exist")