summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-06-24 13:21:20 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-06-24 13:27:13 +0530
commit0813022c7993dfa1379c533aeaa03d9257911a96 (patch)
treefccd7176db1b6b756fd453028d2dfdacaa953019 /Makerules
parentaba8ef95b56313269512f5ec449e0d9c74d2a1e2 (diff)
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.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 817d07ed4a..6b30e8ce58 100644
--- a/Makerules
+++ b/Makerules
@@ -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