| ... | ... | @@ -38,7 +38,7 @@ pub fn build(b: *Builder) !void { |
| 38 | 38 | const test_step = b.step("test", "Run all the tests"); |
| 39 | 39 | |
| 40 | 40 | var test_stage2 = b.addTest("src-self-hosted/test.zig"); |
| 41 | | test_stage2.setBuildMode(.Debug); // note this is only the mode of the test harness |
| 41 | test_stage2.setBuildMode(mode); |
| 42 | 42 | test_stage2.addPackagePath("stage2_tests", "test/stage2/test.zig"); |
| 43 | 43 | |
| 44 | 44 | const fmt_build_zig = b.addFmt(&[_][]const u8{"build.zig"}); |