| author | |
| committer | |
| log | f6c1864abf4dc6a94789bb6137de5d5c2dd921cd |
| tree | 66dceed59be2ddbc1b0e9132087f6d3c7b279b61 |
| parent | 95417948d028cd57e482cdfd7264611254a13d39 |
| signature |
It's been disabled for ages and has bitrotted. Someone can readd it later if
they feel like it actually adds value.7 files changed, 0 insertions(+), 45 deletions(-)
test/standalone/build.zig.zon-4| ... | @@ -15,10 +15,6 @@ | ... | @@ -15,10 +15,6 @@ |
| 15 | .test_runner_module_imports = .{ | 15 | .test_runner_module_imports = .{ |
| 16 | .path = "test_runner_module_imports", | 16 | .path = "test_runner_module_imports", |
| 17 | }, | 17 | }, |
| 18 | // https://github.com/ziglang/zig/issues/17483 | ||
| 19 | //.issue_13970 = .{ | ||
| 20 | // .path = "issue_13970", | ||
| 21 | //}, | ||
| 22 | .shared_library = .{ | 18 | .shared_library = .{ |
| 23 | .path = "shared_library", | 19 | .path = "shared_library", |
| 24 | }, | 20 | }, |
test/standalone/issue_13970/build.zig deleted-32| ... | @@ -1,32 +0,0 @@ | ||
| 1 | const std = @import("std"); | ||
| 2 | |||
| 3 | pub fn build(b: *std.Build) void { | ||
| 4 | const test_step = b.step("test", "Test it"); | ||
| 5 | b.default_step = test_step; | ||
| 6 | |||
| 7 | const test1 = b.addTest(.{ | ||
| 8 | .root_module = b.createModule(.{ | ||
| 9 | .root_source_file = b.path("test_root/empty.zig"), | ||
| 10 | .target = b.graph.host, | ||
| 11 | }), | ||
| 12 | .test_runner = "src/main.zig", | ||
| 13 | }); | ||
| 14 | const test2 = b.addTest(.{ | ||
| 15 | .root_module = b.createModule(.{ | ||
| 16 | .root_source_file = b.path("src/empty.zig"), | ||
| 17 | .target = b.graph.host, | ||
| 18 | }), | ||
| 19 | .test_runner = "src/main.zig", | ||
| 20 | }); | ||
| 21 | const test3 = b.addTest(.{ | ||
| 22 | .root_module = b.createModule(.{ | ||
| 23 | .root_source_file = b.path("empty.zig"), | ||
| 24 | .target = b.graph.host, | ||
| 25 | }), | ||
| 26 | .test_runner = "src/main.zig", | ||
| 27 | }); | ||
| 28 | |||
| 29 | test_step.dependOn(&b.addRunArtifact(test1).step); | ||
| 30 | test_step.dependOn(&b.addRunArtifact(test2).step); | ||
| 31 | test_step.dependOn(&b.addRunArtifact(test3).step); | ||
| 32 | } | ||
test/standalone/issue_13970/empty.zig deletedtest/standalone/issue_13970/src/empty.zig deletedtest/standalone/issue_13970/src/main.zig deleted-8| ... | @@ -1,8 +0,0 @@ | ||
| 1 | const std = @import("std"); | ||
| 2 | const package = @import("package.zig"); | ||
| 3 | const root = @import("root"); | ||
| 4 | const builtin = @import("builtin"); | ||
| 5 | |||
| 6 | pub fn main() !void { | ||
| 7 | _ = package.decl; | ||
| 8 | } | ||
test/standalone/issue_13970/src/package.zig deleted-1| ... | @@ -1 +0,0 @@ | ||
| 1 | pub const decl = 0; | ||
test/standalone/issue_13970/test_root/empty.zig deleted