Fix summary of TEST_PREV_COMMITS (#2261)
Instead of printing the list of commits for which tests failed, this printed all commits. Testing done on this change: None. Testing the infrastructure for Travis is a bit hard and quite meta. (Tests for the tests?) Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
347238b57a
commit
4e17cc6bfc
|
@ -242,7 +242,7 @@ script:
|
||||||
git checkout -qf FETCH_HEAD
|
git checkout -qf FETCH_HEAD
|
||||||
if [ -n "$failed" ]; then
|
if [ -n "$failed" ]; then
|
||||||
echo "Checks failed for these commits:"
|
echo "Checks failed for these commits:"
|
||||||
for c in $commits; do
|
for c in $failed; do
|
||||||
git log -1 --pretty="%h %s (%an, %ad)" "$c"
|
git log -1 --pretty="%h %s (%an, %ad)" "$c"
|
||||||
done
|
done
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in New Issue