Make run_suite() await
This commit is contained in:
parent
9fc1fb00bb
commit
6dda982c46
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ func _ready() -> void:
|
||||||
if !DirAccess.dir_exists_absolute(config_test_directory): await lcrash("Testing directory \"" + config_test_directory + "\" does not exist")
|
if !DirAccess.dir_exists_absolute(config_test_directory): await lcrash("Testing directory \"" + config_test_directory + "\" does not exist")
|
||||||
|
|
||||||
# Run test suites
|
# Run test suites
|
||||||
for suite in DirAccess.get_files_at(config_test_directory): run_suite(suite.replace(".gd", ""))
|
for suite in DirAccess.get_files_at(config_test_directory): await run_suite(suite.replace(".gd", ""))
|
||||||
|
|
||||||
# Print test results
|
# Print test results
|
||||||
print() # Newline
|
print() # Newline
|
||||||
|
|
Loading…
Reference in a new issue