mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-22 14:21:55 -06:00
Fix newlines between white/blacklist test names in buildkite annotations (#1003)
This commit is contained in:
parent
5c894efd0e
commit
65c6fbddeb
|
@ -80,8 +80,8 @@ done <<< "${passed_but_expected_fail}"
|
||||||
# TODO: Check that the same test doesn't appear twice in the whitelist|blacklist
|
# TODO: Check that the same test doesn't appear twice in the whitelist|blacklist
|
||||||
|
|
||||||
# Trim test output strings
|
# Trim test output strings
|
||||||
tests_to_add=$(echo -e $tests_to_add | xargs -d '\n')
|
tests_to_add=$(IFS=$'\n' echo "${tests_to_add[*]%%'\n'}")
|
||||||
already_in_whitelist=$(echo -e $already_in_whitelist | xargs -d '\n')
|
already_in_whitelist=$(IFS=$'\n' echo "${already_in_whitelist[*]%%'\n'}")
|
||||||
|
|
||||||
# Format output with markdown for buildkite annotation rendering purposes
|
# Format output with markdown for buildkite annotation rendering purposes
|
||||||
if [ -n "${tests_to_add}" ] && [ -n "${already_in_whitelist}" ]; then
|
if [ -n "${tests_to_add}" ] && [ -n "${already_in_whitelist}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue