Skip to content

Commit 74e1e40

Browse files
committed
Work with -k.
1 parent 3864aaa commit 74e1e40

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/share/poudriere/common.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2235,7 +2235,12 @@ _real_build_port() {
22352235
bset_job_status "${phase}/timeout" "${port}"
22362236
job_msg_verbose "Status for build ${COLOR_PORT}${port}${COLOR_RESET}: ${COLOR_PHASE}timeout"
22372237
fi
2238-
return 1
2238+
if [ "${phase}" = "test" -a "${PORTTESTING_FATAL}" = "no" ]; then
2239+
msg "Error: test failures detected"
2240+
testfailure=2
2241+
else
2242+
return 1
2243+
fi
22392244
fi
22402245
fi
22412246

0 commit comments

Comments
 (0)