about summary refs log tree commit diff
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
parentaba8ef95b56313269512f5ec449e0d9c74d2a1e2 (diff)
downloadglibc-0813022c7993dfa1379c533aeaa03d9257911a96.tar.gz
glibc-0813022c7993dfa1379c533aeaa03d9257911a96.tar.xz
glibc-0813022c7993dfa1379c533aeaa03d9257911a96.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--Makerules3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 39d294ab4d..9b119b5e4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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