mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
better output for cross platform zig test on windows
This commit is contained in:
parent
5c4504e005
commit
d43204c950
@ -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) {
|
||||
|
||||
@ -85,11 +85,13 @@ bool os_is_sep(uint8_t c);
|
||||
#define ZIG_PRI_u64 "I64u"
|
||||
#define ZIG_PRI_llu "I64u"
|
||||
#define ZIG_PRI_x64 "I64x"
|
||||
#define OS_SEP "\\"
|
||||
#else
|
||||
#define ZIG_PRI_usize "zu"
|
||||
#define ZIG_PRI_u64 PRIu64
|
||||
#define ZIG_PRI_llu "llu"
|
||||
#define ZIG_PRI_x64 PRIx64
|
||||
#define OS_SEP "/"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user