better output for cross platform zig test on windows

This commit is contained in:
Andrew Kelley
2017-09-30 14:07:26 -04:00
parent 5c4504e005
commit d43204c950
2 changed files with 3 additions and 1 deletions

View File

@@ -700,7 +700,7 @@ int main(int argc, char **argv) {
ZigTarget *non_null_target = target ? target : &native;
Buf *test_exe_name = buf_sprintf("./test%s", target_exe_file_ext(non_null_target));
Buf *test_exe_name = buf_sprintf("." OS_SEP "test%s", target_exe_file_ext(non_null_target));
for (size_t i = 0; i < test_exec_args.length; i += 1) {
if (test_exec_args.items[i] == nullptr) {