Skip to content

Commit 492bb6d

Browse files
author
Elijah Deluzio
committed
Exit with code 0 for failures with .failing tests
1 parent 2db4d63 commit 492bb6d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

peter-jr

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ findTests \
164164
echo "${FAIL}"
165165
peter_exit_code=1
166166

167+
if [ "$knownFail" ]; then
168+
peter_exit_code=0
169+
fi
170+
167171
if [ ! "$VERBOSE" ] && [ ! "$knownFail" ]; then
168172
echo
169173
echo "$(grey --) $(yellow ${file}) $(grey vvvvvvvvvvvvvv)"

0 commit comments

Comments
 (0)