mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 00:35:10 +00:00
zig test: don't skip execution when explicit command provided
This commit is contained in:
parent
2c681d7ba1
commit
4dd17a7c9e
@ -1300,7 +1300,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!target_can_exec(&native, &target)) {
|
||||
if (!target_can_exec(&native, &target) && test_exec_args.length == 0) {
|
||||
fprintf(stderr, "Created %s but skipping execution because it is non-native.\n",
|
||||
buf_ptr(test_exe_path));
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user