From 129a25c76d03806a40e6f773ce2e200ba3e98c66 Mon Sep 17 00:00:00 2001 From: James Zern Date: Sat, 16 May 2015 11:52:59 -0700 Subject: [PATCH] test_libvpx: add .* to negative filter in addition to /*. this will pick up tests defined with TEST() instead of INSTANTIATE_TEST_CASE_P() Change-Id: I0917741baac89d9ce857f4d4aa53790e8a0c6c12 --- test/test_libvpx.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/test_libvpx.cc b/test/test_libvpx.cc index edbeec294..9b29fed2f 100644 --- a/test/test_libvpx.cc +++ b/test/test_libvpx.cc @@ -38,21 +38,21 @@ int main(int argc, char **argv) { #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