mirror of
https://github.com/ziglang/zig.git
synced 2025-12-30 10:03:21 +00:00
wire up -Dskip-non-native to stage2 tests
This commit is contained in:
parent
463186e856
commit
6d91ebce45
@ -430,6 +430,9 @@ pub const TestContext = struct {
|
||||
var default_prng = std.rand.DefaultPrng.init(random_seed);
|
||||
|
||||
for (self.cases.items) |case| {
|
||||
if (build_options.skip_non_native and case.target.getCpuArch() != std.Target.current.cpu.arch)
|
||||
continue;
|
||||
|
||||
var prg_node = root_node.start(case.name, case.updates.items.len);
|
||||
prg_node.activate();
|
||||
defer prg_node.end();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user