authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-08-20 13:16:04-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-08-20 13:16:04-07:00
log1a4059ed88740c0289b7fea5735115fa9481a8e5
tree93cd6128543ac97b3f83656a54b425327bf68190
parent4a69b11e742365d68e4d92aa18d6493db9d3edaf

allow running the stage2 tests in release mode


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

build.zig+1-1
...@@ -38,7 +38,7 @@ pub fn build(b: *Builder) !void {...@@ -38,7 +38,7 @@ pub fn build(b: *Builder) !void {
38 const test_step = b.step("test", "Run all the tests");38 const test_step = b.step("test", "Run all the tests");
3939
40 var test_stage2 = b.addTest("src-self-hosted/test.zig");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 harness41 test_stage2.setBuildMode(mode);
42 test_stage2.addPackagePath("stage2_tests", "test/stage2/test.zig");42 test_stage2.addPackagePath("stage2_tests", "test/stage2/test.zig");
4343
44 const fmt_build_zig = b.addFmt(&[_][]const u8{"build.zig"});44 const fmt_build_zig = b.addFmt(&[_][]const u8{"build.zig"});