aboutsummaryrefslogtreecommitdiff
path: root/test/link/macho/dylib
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-06-22 10:27:51 +0200
committerJakub Konka <kubkon@jakubkonka.com>2022-06-22 10:27:51 +0200
commit23a63f4ce445d26d7fc577eecc6c3f5ca129a007 (patch)
tree2cf2f80e1eb9cd8e64165c133ab36493814eb037 /test/link/macho/dylib
parentb5601a2da60df2f8f2bc6ac1ef287d4733a47df2 (diff)
downloadzig-23a63f4ce445d26d7fc577eecc6c3f5ca129a007.tar.gz
zig-23a63f4ce445d26d7fc577eecc6c3f5ca129a007.zip
link-tests: rename CheckMachOStep to CheckObjectStep and accept obj format
Diffstat (limited to 'test/link/macho/dylib')
-rw-r--r--test/link/macho/dylib/build.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/link/macho/dylib/build.zig b/test/link/macho/dylib/build.zig
index 4f41e204ec..a613f02b4a 100644
--- a/test/link/macho/dylib/build.zig
+++ b/test/link/macho/dylib/build.zig
@@ -13,7 +13,7 @@ pub fn build(b: *Builder) void {
dylib.linkLibC();
dylib.install();
- const check_dylib = dylib.checkMachO();
+ const check_dylib = dylib.checkObject(.macho);
check_dylib.check("cmd ID_DYLIB");
check_dylib.checkNext("path @rpath/liba.dylib");
check_dylib.checkNext("timestamp 2");
@@ -30,7 +30,7 @@ pub fn build(b: *Builder) void {
exe.addLibraryPath(b.pathFromRoot("zig-out/lib/"));
exe.addRPath(b.pathFromRoot("zig-out/lib"));
- const check_exe = exe.checkMachO();
+ const check_exe = exe.checkObject(.macho);
check_exe.check("cmd LOAD_DYLIB");
check_exe.checkNext("path @rpath/liba.dylib");
check_exe.checkNext("timestamp 2");