commit | a75bee541428228714696dbff72d33f20b6899da | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@chromium.org> | Mon May 02 23:19:30 2022 +0000 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 03 11:47:03 2022 +0000 |
tree | 836f864bd9f26003522bcf81627b2dc09cd9e8bb | |
parent | 9a836f7840b965e66085f8380116a54076f44a4b [diff] |
Support running tests on non-NEON devices. Change-Id: I7d95d53d4d99cb5b58fc05ee8240577575306b94 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/52406 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/crypto/fipsmodule/aes/aes_test.cc b/crypto/fipsmodule/aes/aes_test.cc index eef2567..a38bf9c 100644 --- a/crypto/fipsmodule/aes/aes_test.cc +++ b/crypto/fipsmodule/aes/aes_test.cc
@@ -559,6 +559,10 @@ TEST(AESTest, VPAESToBSAESConvert) { + if (!vpaes_capable()) { + GTEST_SKIP(); + } + const int kNumIterations = 1000; for (int i = 0; i < kNumIterations; i++) { uint8_t key[256 / 8];