Exit with error status on check-abi failure.

* Makerules [!subdir] (check-abi): Exit with error status if a
	test failed.
This commit is contained in:
Joseph Myers 2014-03-18 00:05:28 +00:00
parent b36208627c
commit 80cf0a583d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-03-18 Joseph Myers <joseph@codesourcery.com>
* Makerules [!subdir] (check-abi): Exit with error status if a
test failed.
2014-03-17 Joseph Myers <joseph@codesourcery.com>
* math/libm-test.inc (nearbyint_test_data): Include all tests used

View File

@ -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