diff --git a/eclass/zig.eclass b/eclass/zig.eclass index e838616ef72a1..2a0178e66d71b 100644 --- a/eclass/zig.eclass +++ b/eclass/zig.eclass @@ -520,9 +520,10 @@ zig_src_test() { # by whitespaces is not enough for some cases. # We probably need something like "--list-steps names_only". # In practice, almost nobody sets such names. + # Ignore failures like rare random "error.BrokenPipe" here. + # If they are real, they would appear in "ezig build test" anyway. if grep -q '^[ ]*test[ ]' < <( - nonfatal ezig build --list-steps "${args[@]}" || - die "ZBS: listing steps failed" + nonfatal ezig build --list-steps "${args[@]}" ); then einfo "ZBS: testing with: ${args[@]}" nonfatal ezig build test "${args[@]}" ||