Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 3b3b356

Browse files
bionic: Disable arm32 cpu_target_featuers test
Some arm32 devices may not have ASE/CRC32 still (or they may, but may not be able to use these features). We don't want to break them until we can figure out how to properly limit the breakage to true positives. Bug: 369186774 Test: Presubmit Change-Id: Id37395475838fc9424fb857bb66ce9f7a8567ff2
1 parent b975a72 commit 3b3b356

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/cpu_target_features_test.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,3 @@ TEST(cpu_target_features, has_expected_aarch64_compiler_values) {
5454
GTEST_SKIP() << "Not targeting an aarch64 architecture.";
5555
#endif
5656
}
57-
58-
TEST(cpu_target_features, has_expected_arm_compiler_values) {
59-
#if defined(__arm__)
60-
ExecTestHelper eth;
61-
char* const argv[] = {nullptr};
62-
const auto invocation = [&] { execvp("cpu-target-features", argv); };
63-
eth.Run(invocation, 0, "(^|\n)__ARM_FEATURE_AES=1($|\n)");
64-
eth.Run(invocation, 0, "(^|\n)__ARM_FEATURE_CRC32=1($|\n)");
65-
#else
66-
GTEST_SKIP() << "Not targeting an arm architecture.";
67-
#endif
68-
}

0 commit comments

Comments
 (0)