diff --git a/build_file.cpp b/build_file.cpp index 97a8cee..c8a4732 100644 --- a/build_file.cpp +++ b/build_file.cpp @@ -97,17 +97,9 @@ int main(int argc, char **argv) { // Run exes if there were no errors // if (result == 0) { - processes.reset(); For(exes) { - Process p = RunEx(it); - processes.add(p); - } - - int i = 0; - For(processes) { - int exit_code = Wait(&it); - S8_String name = exes[i++]; - IO_Printf("%.*s - %d\n", S8_Expand(name), exit_code); + int exit_code = Run(it); + IO_Printf("%.*s - %d\n", S8_Expand(it), exit_code); if (exit_code != 0) result = exit_code; } } diff --git a/tests/test_filesystem.c b/tests/test_filesystem.c index ae5884d..bc97949 100644 --- a/tests/test_filesystem.c +++ b/tests/test_filesystem.c @@ -56,7 +56,7 @@ int main() { S8_String work_path = OS_GetWorkingDir(&arena); S8_String abs_path = OS_GetAbsolutePath(&arena, read_file_path); - IO_Assert(OS_IsDir(dir_path)); + IO_Assertf(OS_IsDir(dir_path), "%.*s", S8_Expand(dir_path)); IO_Assert(!OS_IsFile(dir_path)); IO_Assert(OS_IsFile(exe_path));