aboutsummaryrefslogtreecommitdiff
path: root/lib/std/testing.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2020-10-12 17:28:02 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-10-15 15:59:16 -0700
commit0e1afee732c1007280b8afdab51aef3ceb860432 (patch)
treec46ab1a0cc68388cb5c5e58343837d20689a6d6a /lib/std/testing.zig
parentf3667e8a8056765c460aa3da1fd3ea655b54bf25 (diff)
downloadzig-0e1afee732c1007280b8afdab51aef3ceb860432.tar.gz
zig-0e1afee732c1007280b8afdab51aef3ceb860432.zip
Enable stage2 end-to-end tests on macOS run natively
This commit enables stage2 end-to-end tests to run natively on macOS (where and when applicable). Since QEMU on macOS doesn't support the same type of architecture emulation as it does on linux (i.e., there is no `qemu-x86_64` for instance), this commit ensures that we specify a path to dynamic linker on macOS (`/usr/lib/dyld`) which is then checked for existence in `std.CrossTarget.getExternalExecutor()` function, and if exists, we can run the test natively. Signed-off-by: Jakub Konka <kubkon@jakubkonka.com>
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions