| ... | @@ -205,6 +205,7 @@ fn testCanonicalPlt(b: *Build, opts: Options) *Step { | ... | @@ -205,6 +205,7 @@ fn testCanonicalPlt(b: *Build, opts: Options) *Step { |
| 205 | \\ assert(foo == foo()); | 205 | \\ assert(foo == foo()); |
| 206 | \\ assert(bar == bar()); | 206 | \\ assert(bar == bar()); |
| 207 | \\ assert(bar == baz()); | 207 | \\ assert(bar == baz()); |
| | 208 | \\ return 0; |
| 208 | \\} | 209 | \\} |
| 209 | , &.{"-fno-PIC"}); | 210 | , &.{"-fno-PIC"}); |
| 210 | main_o.linkLibC(); | 211 | main_o.linkLibC(); |
| ... | @@ -217,6 +218,7 @@ fn testCanonicalPlt(b: *Build, opts: Options) *Step { | ... | @@ -217,6 +218,7 @@ fn testCanonicalPlt(b: *Build, opts: Options) *Step { |
| 217 | exe.pie = false; | 218 | exe.pie = false; |
| 218 | | 219 | |
| 219 | const run = addRunArtifact(exe); | 220 | const run = addRunArtifact(exe); |
| | 221 | run.expectExitCode(0); |
| 220 | test_step.dependOn(&run.step); | 222 | test_step.dependOn(&run.step); |
| 221 | | 223 | |
| 222 | return test_step; | 224 | return test_step; |