tests: add test-incremental step

This is contained in the `test` step, so is tested by CI.

This commit also includes some enhancements to the `incr-check` tool to
make this work correctly.
This commit is contained in:
mlugg
2024-08-20 18:09:23 +01:00
parent d23db9427b
commit f60c045cef
3 changed files with 35 additions and 1 deletions

View File

@@ -68,7 +68,9 @@ pub fn main() !void {
const debug_log_verbose = debug_zcu or debug_link;
for (case.targets) |target| {
std.log.scoped(.status).info("target: '{s}-{s}'", .{ target.query, @tagName(target.backend) });
if (debug_log_verbose) {
std.log.scoped(.status).info("target: '{s}-{s}'", .{ target.query, @tagName(target.backend) });
}
var child_args: std.ArrayListUnmanaged([]const u8) = .empty;
try child_args.appendSlice(arena, &.{