Print offending diff when check-abi fails

The earlier version of check-abi would print a diff of the expected
ABI vs the built ABI when there was a difference.  Bring back this
behaviour.
This commit is contained in:
Siddhesh Poyarekar 2014-06-24 13:21:20 +05:30
parent aba8ef95b5
commit 0813022c79
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
* Makerules (check-abi): Dump diff of symlist if the test
fails.
2014-06-23 Roland McGrath <roland@hack.frob.com>
* sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before

View File

@ -1257,7 +1257,8 @@ subdir_check-abi: check-abi
subdir_update-abi: update-abi
else
check-abi: subdir_check-abi
if grep -q '^FAIL:' $(objpfx)*/check-abi*.test-result; then exit 1; fi
if grep -q '^FAIL:' $(objpfx)*/check-abi*.test-result; then \
cat $(objpfx)*/check-abi*.out && exit 1; fi
update-abi: subdir_update-abi
endif