Automatic closing of examples, revise drawing example

This commit is contained in:
Krzosa Karol
2022-09-28 14:09:20 +02:00
parent 4510f39397
commit 83ffc82f79
6 changed files with 27 additions and 31 deletions

View File

@@ -264,7 +264,7 @@ compile_file(String filename, U32 compile_flags = COMPILE_NULL){
}
if(is_flag_set(compile_flags, COMPILE_AND_RUN)){
int result = system("a.exe");
int result = system("a.exe testing");
assert(result != -1);
if(result == 0){
log_info(PRINTF_GREEN "OK!" PRINTF_RESET);