about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-03-18 00:05:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-03-18 00:05:28 +0000
commit80cf0a583d094af6b88a24160d4267acf4d7b679 (patch)
tree0ed85453c722356a1b9f22649f2d01f598085100 /Makerules
parentb36208627c3cd3b5f031a4e42d0f21211f7ccba0 (diff)
downloadglibc-80cf0a583d094af6b88a24160d4267acf4d7b679.tar.gz
glibc-80cf0a583d094af6b88a24160d4267acf4d7b679.tar.xz
glibc-80cf0a583d094af6b88a24160d4267acf4d7b679.zip
Exit with error status on check-abi failure.
	* Makerules [!subdir] (check-abi): Exit with error status if a
	test failed.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 008e80a33a..4427f4eb03 100644
--- a/Makerules
+++ b/Makerules
@@ -1257,6 +1257,7 @@ 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
 update-abi: subdir_update-abi
 endif