authorgravatar for luuk@degram.devLuuk de Gram <luuk@degram.dev> 2022-07-23 17:27:47+02:00
committergravatar for luuk@degram.devLuuk de Gram <luuk@degram.dev> 2022-07-23 17:27:47+02:00
log72c0cebe5c5e6954ae9992d36f8164ae9433df9e
tree22120c97206f1ac62def3c5049850c1dea894fa8
parent2429c3d73c0c8fc279a556d65881f7c25c6bb6e9
signaturelock-open Commit is signed but in an unrecognized format.

test/link/macho: use EmulationStep for dead_strip


1 files changed, 2 insertions(+), 6 deletions(-)

test/link/macho/dead_strip/build.zig+2-6
......@@ -16,9 +16,7 @@ pub fn build(b: *Builder) void {
1616 check.checkInSymtab();
1717 check.checkNext("{*} (__TEXT,__text) external _iAmUnused");
1818
19 test_step.dependOn(&check.step);
20
21 const run_cmd = exe.run();
19 const run_cmd = check.runAndCompare();
2220 run_cmd.expectStdOutEqual("Hello!\n");
2321 test_step.dependOn(&run_cmd.step);
2422 }
......@@ -32,9 +30,7 @@ pub fn build(b: *Builder) void {
3230 check.checkInSymtab();
3331 check.checkNotPresent("{*} (__TEXT,__text) external _iAmUnused");
3432
35 test_step.dependOn(&check.step);
36
37 const run_cmd = exe.run();
33 const run_cmd = check.runAndCompare();
3834 run_cmd.expectStdOutEqual("Hello!\n");
3935 test_step.dependOn(&run_cmd.step);
4036 }