mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
remove unused test code
This commit is contained in:
parent
d0a17b6937
commit
35d60eb4e6
@ -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_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 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");
|
const self_hosted_tests = b.step("test-self-hosted", "Run the self-hosted tests");
|
||||||
test_step.dependOn(self_hosted_tests);
|
test_step.dependOn(self_hosted_tests);
|
||||||
for ([]bool{false, true}) |release| {
|
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.addCompareOutputTests(b, test_filter));
|
||||||
test_step.dependOn(tests.addBuildExampleTests(b, test_filter));
|
test_step.dependOn(tests.addBuildExampleTests(b, test_filter));
|
||||||
test_step.dependOn(tests.addCompileErrorTests(b, test_filter));
|
test_step.dependOn(tests.addCompileErrorTests(b, test_filter));
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
const io = @import("std").io;
|
|
||||||
|
|
||||||
pub fn main() -> %void {
|
|
||||||
%%io.stderr.printf("TODO run tests\n");
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user