diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-08-07 23:10:57 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-08-19 16:45:15 -0700 |
| commit | 507aae4a1a3db498ece2a3a89d74e9e24d952923 (patch) | |
| tree | db52f3b00d0def30488e7ce81adc8685c4945874 /test/tests.zig | |
| parent | 73bbd1069a993a0e663033ea3b8cd4ed1a123566 (diff) | |
| download | zig-507aae4a1a3db498ece2a3a89d74e9e24d952923.tar.gz zig-507aae4a1a3db498ece2a3a89d74e9e24d952923.zip | |
make self-hosted the default compiler
stage1 is available behind the -fstage1 flag.
closes #89
Diffstat (limited to 'test/tests.zig')
| -rw-r--r-- | test/tests.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/tests.zig b/test/tests.zig index e1836dc1e0..bd3c1c5dec 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -601,7 +601,6 @@ pub fn addPkgTests( skip_libc: bool, skip_stage1: bool, skip_stage2: bool, - is_stage1: bool, ) *build.Step { const step = b.step(b.fmt("test-{s}", .{name}), desc); @@ -630,7 +629,7 @@ pub fn addPkgTests( if (test_target.backend) |backend| switch (backend) { .stage1 => if (skip_stage1) continue, else => if (skip_stage2) continue, - } else if (is_stage1 and skip_stage1) continue; + } else if (skip_stage2) continue; const want_this_mode = for (modes) |m| { if (m == test_target.mode) break true; |
