aboutsummaryrefslogtreecommitdiff
path: root/test/cbe.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-03-09 18:13:55 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-03-15 10:48:14 -0700
commit7cc4a6965c28e427cbfba57a985f837734d6257e (patch)
tree94c753ad16675b7cf2441b117f02282be20fae34 /test/cbe.zig
parent3186658e602b13a98c388872bbdc0b5cc1eb9267 (diff)
downloadzig-7cc4a6965c28e427cbfba57a985f837734d6257e.tar.gz
zig-7cc4a6965c28e427cbfba57a985f837734d6257e.zip
build runner enhancements in preparation for test-cases
* std.zig.ErrorBundle: support rendering options for whether to include the reference trace, whether to include the source line, and TTY configuration. * build runner: don't print progress in dumb terminals * std.Build.CompileStep: - add a way to expect compilation errors via the new `expect_errors` field. This is an advanced setting that can change the intent of the CompileStep. If this slice has nonzero length, it means that the CompileStep exists to check for compile errors and return *success* if they match, and failure otherwise. - remove the object format parameter from `checkObject`. The object format is known based on the CompileStep's target. - Avoid passing -L and -I flags for nonexistent directories within search_prefixes. This prevents a warning, that should probably be upgraded to an error in Zig's CLI parsing code, when the linker sees an -L directory that does not exist. * std.Build.Step: - When spawning the zig compiler process, takes advantage of the new `std.Progress.Node.setName` API to avoid ticking up a meaningless number at every progress update.
Diffstat (limited to 'test/cbe.zig')
0 files changed, 0 insertions, 0 deletions