Add "Running suite" message
This commit is contained in:
parent
07bda0c255
commit
b96812fbad
1 changed files with 2 additions and 2 deletions
|
@ -111,6 +111,7 @@ func _ready() -> void:
|
|||
|
||||
# Runs a test suite
|
||||
func run_suite(suite: String) -> void:
|
||||
linfo("Running suite \"" + suite + "\"")
|
||||
# Load test suite
|
||||
var suite_node: BessereTestsTest = BessereTestsTest.new()
|
||||
suite_node.set_script(load(config_test_directory + "/" + suite + ".gd"))
|
||||
|
@ -173,8 +174,7 @@ func lcrash(message: String, origin: String = "Bessere Tests") -> void:
|
|||
await terminate(69)
|
||||
|
||||
# Log message sanitization
|
||||
func lsanitize(message: String) -> String:
|
||||
return message.replace("[", "[lb]").replace("]", "[rb]").replace("[lb[rb]", "[lb]").replace("\n", "\\n")
|
||||
func lsanitize(message: String) -> String: return message.replace("[", "[lb]").replace("]", "[rb]").replace("[lb[rb]", "[lb]").replace("\n", "\\n")
|
||||
|
||||
# Terminates the engine
|
||||
func terminate(exit_code: int = 0) -> void:
|
||||
|
|
Loading…
Reference in a new issue