Commit d6ecfa7025
Changed files (15)
test
standalone
simple
cat
guess_number
hello_world
issue_12471
issue_9402
main_return_error
noreturn_call
test/standalone/cat/main.zig → test/standalone/simple/cat/main.zig
File renamed without changes
test/standalone/guess_number/main.zig → test/standalone/simple/guess_number/main.zig
File renamed without changes
test/standalone/hello_world/hello.zig → test/standalone/simple/hello_world/hello.zig
File renamed without changes
test/standalone/hello_world/hello_libc.zig → test/standalone/simple/hello_world/hello_libc.zig
File renamed without changes
test/standalone/issue_12471/main.zig → test/standalone/simple/issue_12471/main.zig
File renamed without changes
test/standalone/issue_9402/main.zig → test/standalone/simple/issue_9402/main.zig
File renamed without changes
test/standalone/main_return_error/error_u8.zig → test/standalone/simple/main_return_error/error_u8.zig
File renamed without changes
test/standalone/main_return_error/error_u8_non_zero.zig → test/standalone/simple/main_return_error/error_u8_non_zero.zig
File renamed without changes
test/standalone/noreturn_call/as_arg.zig → test/standalone/simple/noreturn_call/as_arg.zig
File renamed without changes
test/standalone/noreturn_call/inline.zig → test/standalone/simple/noreturn_call/inline.zig
File renamed without changes
test/standalone/brace_expansion.zig → test/standalone/simple/brace_expansion.zig
File renamed without changes
test/standalone/issue_7030.zig → test/standalone/simple/issue_7030.zig
File renamed without changes
test/standalone/std_enums_big_enums.zig → test/standalone/simple/std_enums_big_enums.zig
File renamed without changes
test/standalone/build.zig.zon
@@ -2,6 +2,9 @@
.name = "standalone_test_cases",
.version = "0.0.0",
.dependencies = .{
+ // "Simple" test cases (those in the 'simple' directory) are configured by the root build
+ // script, outside of this package.
+
.test_runner_path = .{
.path = "test_runner_path",
},
test/standalone.zig
@@ -11,43 +11,43 @@ pub const SimpleCase = struct {
pub const simple_cases = [_]SimpleCase{
.{
- .src_path = "test/standalone/hello_world/hello.zig",
+ .src_path = "test/standalone/simple/hello_world/hello.zig",
.all_modes = true,
},
.{
- .src_path = "test/standalone/hello_world/hello_libc.zig",
+ .src_path = "test/standalone/simple/hello_world/hello_libc.zig",
.link_libc = true,
.all_modes = true,
},
.{
- .src_path = "test/standalone/cat/main.zig",
+ .src_path = "test/standalone/simple/cat/main.zig",
},
// https://github.com/ziglang/zig/issues/6025
//.{
- // .src_path = "test/standalone/issue_9693/main.zig",
+ // .src_path = "test/standalone/simple/issue_9693/main.zig",
//},
.{
- .src_path = "test/standalone/brace_expansion.zig",
+ .src_path = "test/standalone/simple/brace_expansion.zig",
.is_test = true,
},
.{
- .src_path = "test/standalone/issue_7030.zig",
+ .src_path = "test/standalone/simple/issue_7030.zig",
.target = .{
.cpu_arch = .wasm32,
.os_tag = .freestanding,
},
},
- .{ .src_path = "test/standalone/issue_12471/main.zig" },
- .{ .src_path = "test/standalone/guess_number/main.zig" },
- .{ .src_path = "test/standalone/main_return_error/error_u8.zig" },
- .{ .src_path = "test/standalone/main_return_error/error_u8_non_zero.zig" },
- .{ .src_path = "test/standalone/noreturn_call/inline.zig" },
- .{ .src_path = "test/standalone/noreturn_call/as_arg.zig" },
- .{ .src_path = "test/standalone/std_enums_big_enums.zig" },
+ .{ .src_path = "test/standalone/simple/issue_12471/main.zig" },
+ .{ .src_path = "test/standalone/simple/guess_number/main.zig" },
+ .{ .src_path = "test/standalone/simple/main_return_error/error_u8.zig" },
+ .{ .src_path = "test/standalone/simple/main_return_error/error_u8_non_zero.zig" },
+ .{ .src_path = "test/standalone/simple/noreturn_call/inline.zig" },
+ .{ .src_path = "test/standalone/simple/noreturn_call/as_arg.zig" },
+ .{ .src_path = "test/standalone/simple/std_enums_big_enums.zig" },
.{
- .src_path = "test/standalone/issue_9402/main.zig",
+ .src_path = "test/standalone/simple/issue_9402/main.zig",
.os_filter = .windows,
.link_libc = true,
},