Disable x86 FromCpuFeatures test
Test: art_runtime_tests --no_isolate "--gtest_filter=InstructionSetFeaturesTest.*"
Bug: 169921883
Change-Id: I6b596c156c110cd8aafe5c82a42c63bf5c8250b1
diff --git a/runtime/arch/instruction_set_features_test.cc b/runtime/arch/instruction_set_features_test.cc
index 82b8242..e926147 100644
--- a/runtime/arch/instruction_set_features_test.cc
+++ b/runtime/arch/instruction_set_features_test.cc
@@ -177,6 +177,14 @@
}
TEST(InstructionSetFeaturesTest, FeaturestFromCpuFeatures) {
+ // Test globally disabled on x86 because of cpu_features not detecting SSSE3,
+ // SSE4.1 and SSE4.2 extensions on fugu's CPU
+ // (see https://github.com/google/cpu_features/issues/4)
+ // TODO(b/169921883): Re-enable when cpu_features detects these CPU features
+ // when running on fugu.
+
+ TEST_DISABLED_FOR_X86();
+
// Take the default set of instruction features from the build.
std::unique_ptr<const InstructionSetFeatures> instruction_set_features(
InstructionSetFeatures::FromCppDefines());