From 80cf0a583d094af6b88a24160d4267acf4d7b679 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 18 Mar 2014 00:05:28 +0000 Subject: [PATCH] Exit with error status on check-abi failure. * Makerules [!subdir] (check-abi): Exit with error status if a test failed. --- ChangeLog | 5 +++++ Makerules | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index c7e121df06..b007a2ef63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-03-18 Joseph Myers + + * Makerules [!subdir] (check-abi): Exit with error status if a + test failed. + 2014-03-17 Joseph Myers * math/libm-test.inc (nearbyint_test_data): Include all tests used 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 -- 2.43.5