summaryrefslogtreecommitdiffstats
path: root/libvpx/test/test_libvpx.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libvpx/test/test_libvpx.cc')
-rw-r--r--libvpx/test/test_libvpx.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvpx/test/test_libvpx.cc b/libvpx/test/test_libvpx.cc
index a4dbca4..80aca98 100644
--- a/libvpx/test/test_libvpx.cc
+++ b/libvpx/test/test_libvpx.cc
@@ -45,6 +45,10 @@ int main(int argc, char **argv) {
append_gtest_filter(":-SSSE3/*");
if (!(simd_caps & HAS_SSE4_1))
append_gtest_filter(":-SSE4_1/*");
+ if (!(simd_caps & HAS_AVX))
+ append_gtest_filter(":-AVX/*");
+ if (!(simd_caps & HAS_AVX2))
+ append_gtest_filter(":-AVX2/*");
#endif
#if !CONFIG_SHARED