Skip to content

Commit 3023a96

Browse files
committed
Return exit code 1 when ./setup test all fails
1 parent c0f7aef commit 3023a96

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

support/setup/testing.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,10 @@ test_all() {
126126
printf '\nThe following packages failed their tests:\n'
127127
printf '%b\n\n' "${COLOR_RED}${FAILED_TESTS}${COLOR_END}"
128128
print_getting_help
129+
return 1
129130
else
130131
printf '\n%b\n\n' "${COLOR_GREEN}All installed packages completed their tests successfully${COLOR_END}"
132+
return 0
131133
fi
132134
}
133135

0 commit comments

Comments
 (0)