mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 15:12:31 +00:00
test-cases: enable stage2 tests on Windows
This commit is contained in:
parent
678e07b924
commit
a226aef36c
@ -73,8 +73,7 @@ jobs:
|
||||
& "$ZIGINSTALLDIR\bin\zig.exe" build test docs `
|
||||
--search-prefix "$ZIGPREFIXPATH" `
|
||||
-Dstatic-llvm `
|
||||
-Dskip-non-native `
|
||||
-Dskip-stage2-tests
|
||||
-Dskip-non-native
|
||||
CheckLastExitCode
|
||||
name: test
|
||||
displayName: 'Test'
|
||||
|
@ -177,6 +177,8 @@ const TestManifestConfigDefaults = struct {
|
||||
inline for (&[_][]const u8{ "x86_64", "aarch64" }) |arch| {
|
||||
defaults = defaults ++ arch ++ "-macos" ++ ",";
|
||||
}
|
||||
// Windows
|
||||
defaults = defaults ++ "x86_64-windows" ++ ",";
|
||||
// Wasm
|
||||
defaults = defaults ++ "wasm32-wasi";
|
||||
return defaults;
|
||||
@ -1546,6 +1548,13 @@ pub const TestContext = struct {
|
||||
.self_exe_path = std.testing.zig_exe_path,
|
||||
// TODO instead of turning off color, pass in a std.Progress.Node
|
||||
.color = .off,
|
||||
// TODO: We set these to no so that we don't fallback to LLD for incremental linking context. This is because
|
||||
// our own COFF linker doesn't yet support these options.
|
||||
.want_unwind_tables = switch (case.backend) {
|
||||
.stage2 => if (target.os.tag == .windows) false else null,
|
||||
else => null,
|
||||
},
|
||||
.emit_implib = null,
|
||||
});
|
||||
defer comp.destroy();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user