turtles gotta dream

This commit is contained in:
Andrew Morgan 2020-02-13 17:45:26 +00:00
parent 4da2630904
commit 36f566a49b

View file

@ -76,8 +76,13 @@ while read -r test_name; do
fi
done <<< "${passed_but_expected_fail}"
# Wrap output in code blocks for buildkite annotation rendering purposes
if [ -n "${tests_to_add}" ] && [ -n "${already_in_whitelist}" ]; then
echo "\`\`\`"
fi
if [ -n "${tests_to_add}" ]; then
echo "ERROR: The following passed tests are not present in $2. Please append them to the file:"
echo "ERROR: The following passed tests are not present in $2. Please append them to the file!:"
echo -e "${tests_to_add}"
fi
@ -86,4 +91,8 @@ if [ -n "${already_in_whitelist}" ]; then
echo -e "${already_in_whitelist}"
fi
if [ -n "${tests_to_add}" ] && [ -n "${already_in_whitelist}" ]; then
echo "\`\`\`"
fi
exit ${fail_build}