test_libvpx: add <arch>.* to negative filter
in addition to <arch>/*. this will pick up tests defined with TEST()
instead of INSTANTIATE_TEST_CASE_P()
Change-Id: I0917741baac89d9ce857f4d4aa53790e8a0c6c12
diff --git a/test/test_libvpx.cc b/test/test_libvpx.cc
index edbeec2..9b29fed 100644
--- a/test/test_libvpx.cc
+++ b/test/test_libvpx.cc
@@ -38,21 +38,21 @@
#if ARCH_X86 || ARCH_X86_64
const int simd_caps = x86_simd_caps();
if (!(simd_caps & HAS_MMX))
- append_negative_gtest_filter(":MMX/*");
+ append_negative_gtest_filter(":MMX.*:MMX/*");
if (!(simd_caps & HAS_SSE))
- append_negative_gtest_filter(":SSE/*");
+ append_negative_gtest_filter(":SSE.*:SSE/*");
if (!(simd_caps & HAS_SSE2))
- append_negative_gtest_filter(":SSE2/*");
+ append_negative_gtest_filter(":SSE2.*:SSE2/*");
if (!(simd_caps & HAS_SSE3))
- append_negative_gtest_filter(":SSE3/*");
+ append_negative_gtest_filter(":SSE3.*:SSE3/*");
if (!(simd_caps & HAS_SSSE3))
- append_negative_gtest_filter(":SSSE3/*");
+ append_negative_gtest_filter(":SSSE3.*:SSSE3/*");
if (!(simd_caps & HAS_SSE4_1))
- append_negative_gtest_filter(":SSE4_1/*");
+ append_negative_gtest_filter(":SSE4_1.*:SSE4_1/*");
if (!(simd_caps & HAS_AVX))
- append_negative_gtest_filter(":AVX/*");
+ append_negative_gtest_filter(":AVX.*:AVX/*");
if (!(simd_caps & HAS_AVX2))
- append_negative_gtest_filter(":AVX2/*");
+ append_negative_gtest_filter(":AVX2.*:AVX2/*");
#endif
#if !CONFIG_SHARED