Don't automatically run all tests for ABI testing. We have good coverage for individual functions now and this makes running tests when building for shared libraries more complex. Change-Id: Ie69d234e1eed04e341b5192e174c4dae553c8706 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/40404 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/crypto/test/gtest_main.cc b/crypto/test/gtest_main.cc index aeec0f5..a79f263 100644 --- a/crypto/test/gtest_main.cc +++ b/crypto/test/gtest_main.cc
@@ -79,17 +79,5 @@ abi_test::EnableUnwindTests(); } - // Run the entire test suite under an ABI check. This is less effective than - // testing the individual assembly functions, but will catch issues with - // rarely-used registers. - abi_test::Result abi; - int ret = abi_test::Check(&abi, RUN_ALL_TESTS); - if (!abi.ok()) { - fprintf(stderr, "ABI failure in test suite:\n"); - for (const auto &error : abi.errors) { - fprintf(stderr, " %s\n", error.c_str()); - } - exit(1); - } - return ret; + return RUN_ALL_TESTS(); }