This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] 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.

	* Makerules (check-abi): Dump diff of symlist if the test
	fails.

---
 Makerules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makerules b/Makerules
index 817d07e..6b30e8c 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
 
-- 
1.9.3

Attachment: pgpl4nC3BfcMg.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]