remove unused test code

This commit is contained in:
Andrew Kelley 2017-04-19 04:28:59 -04:00
parent d0a17b6937
commit 35d60eb4e6
2 changed files with 0 additions and 12 deletions

View File

@ -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));

View File

@ -1,5 +0,0 @@
const io = @import("std").io;
pub fn main() -> %void {
%%io.stderr.printf("TODO run tests\n");
}