Print offending diff when check-abi fails
Commit Message
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.
* Makerules (check-abi): Dump diff of symlist if the test
fails.
---
Makerules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
Siddhesh Poyarekar <siddhesh@redhat.com> writes:
> * Makerules (check-abi): Dump diff of symlist if the test
> fails.
Ok.
Andreas.
@@ -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