| ... | ... | @@ -5,11 +5,6 @@ pub fn build(b: &Builder) { |
| 5 | 5 | const test_filter = b.option([]const u8, "test-filter", "Skip tests that do not match filter"); |
| 6 | 6 | const test_step = b.step("test", "Run all the tests"); |
| 7 | 7 | |
| 8 | | const run_tests_exe = b.addExecutable("run_tests", "test/run_tests.zig"); |
| 9 | | |
| 10 | | const run_tests_cmd = b.addCommand(b.out_dir, b.env_map, "./run_tests", [][]const u8{}); |
| 11 | | run_tests_cmd.step.dependOn(&run_tests_exe.step); |
| 12 | | |
| 13 | 8 | const self_hosted_tests = b.step("test-self-hosted", "Run the self-hosted tests"); |
| 14 | 9 | test_step.dependOn(self_hosted_tests); |
| 15 | 10 | for ([]bool{false, true}) |release| { |
| ... | ... | @@ -40,8 +35,6 @@ pub fn build(b: &Builder) { |
| 40 | 35 | } |
| 41 | 36 | } |
| 42 | 37 | |
| 43 | | //test_step.dependOn(&run_tests_cmd.step); |
| 44 | | |
| 45 | 38 | test_step.dependOn(tests.addCompareOutputTests(b, test_filter)); |
| 46 | 39 | test_step.dependOn(tests.addBuildExampleTests(b, test_filter)); |
| 47 | 40 | test_step.dependOn(tests.addCompileErrorTests(b, test_filter)); |