Skip to content

Commit

Permalink
Add whitelist information to dendrite buildkite annotation (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Apr 28, 2020
1 parent 8e8a0fb commit 8294b8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/dendrite_sytest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fi

# Check for new tests to be added to the test whitelist
/src/show-expected-fail-tests.sh /logs/results.tap /src/sytest-whitelist \
/src/sytest-blacklist || TEST_STATUS=$?
/src/sytest-blacklist > /work/show_expected_fail_tests_output.txt || TEST_STATUS=$?

echo >&2 "--- Copying assets"

Expand All @@ -62,6 +62,10 @@ rsync -r --ignore-missing-args --min-size=1B -av /work/server-0 /work/server-1 /
if [ $TEST_STATUS -ne 0 ]; then
# Build the annotation
perl /sytest/scripts/format_tap.pl /logs/results.tap "$BUILDKITE_LABEL" >/logs/annotate.md
# If show-expected-fail-tests logged something, put it into the annotation
# Annotations from a failed build show at the top of buildkite, alerting
# developers quickly as to what needs to change in the black/whitelist.
cat /work/show_expected_fail_tests_output.txt >> /logs/annotate.md
fi

exit $TEST_STATUS

0 comments on commit 8294b8a

Please sign in to comment.