Add more checks
This commit is contained in:
parent
a4d5eb2157
commit
72bc71935e
1 changed files with 7 additions and 0 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue