From 35d60eb4e65c38a3c81e3a249de7447017616d02 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 19 Apr 2017 04:28:59 -0400 Subject: [PATCH] remove unused test code --- build.zig | 7 ------- test/run_tests.zig | 5 ----- 2 files changed, 12 deletions(-) delete mode 100644 test/run_tests.zig diff --git a/build.zig b/build.zig index 8e8b12358d..b0338800b5 100644 --- a/build.zig +++ b/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)); diff --git a/test/run_tests.zig b/test/run_tests.zig deleted file mode 100644 index 5cdaa94fe7..0000000000 --- a/test/run_tests.zig +++ /dev/null @@ -1,5 +0,0 @@ -const io = @import("std").io; - -pub fn main() -> %void { - %%io.stderr.printf("TODO run tests\n"); -}