aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-09-30 14:07:26 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-09-30 14:07:26 -0400
commitd43204c950a24467a85e14fe5ba026e1eac2a19f (patch)
tree00a69477a4a4a465d9fbb79fd2f4c7c64ae7b4eb /src/main.cpp
parent5c4504e00511280ae8bec1118908909fd062c29b (diff)
downloadzig-d43204c950a24467a85e14fe5ba026e1eac2a19f.tar.gz
zig-d43204c950a24467a85e14fe5ba026e1eac2a19f.zip
better output for cross platform zig test on windows
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ab37de95cd..2dc500b1bb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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) {