summaryrefslogtreecommitdiff
path: root/eclass/zig.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/zig.eclass')
-rw-r--r--eclass/zig.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/zig.eclass b/eclass/zig.eclass
index e838616ef72a..2a0178e66d71 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[@]}" ||