Commit 35d60eb4e6
Changed files (2)
test/run_tests.zig
@@ -1,5 +0,0 @@
-const io = @import("std").io;
-
-pub fn main() -> %void {
- %%io.stderr.printf("TODO run tests\n");
-}
build.zig
@@ -5,11 +5,6 @@ pub fn build(b: &Builder) {
const test_filter = b.option([]const u8, "test-filter", "Skip tests that do not match filter");
const test_step = b.step("test", "Run all the tests");
- const run_tests_exe = b.addExecutable("run_tests", "test/run_tests.zig");
-
- const run_tests_cmd = b.addCommand(b.out_dir, b.env_map, "./run_tests", [][]const u8{});
- run_tests_cmd.step.dependOn(&run_tests_exe.step);
-
const self_hosted_tests = b.step("test-self-hosted", "Run the self-hosted tests");
test_step.dependOn(self_hosted_tests);
for ([]bool{false, true}) |release| {
@@ -40,8 +35,6 @@ pub fn build(b: &Builder) {
}
}
- //test_step.dependOn(&run_tests_cmd.step);
-
test_step.dependOn(tests.addCompareOutputTests(b, test_filter));
test_step.dependOn(tests.addBuildExampleTests(b, test_filter));
test_step.dependOn(tests.addCompileErrorTests(b, test_filter));