Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Side by Side Diff: source/libvpx/test/test_libvpx.cc

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/libvpx/test/test_intra_pred_speed.cc ('k') | source/libvpx/test/test_vectors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include <string> 10 #include <string>
(...skipping 20 matching lines...) Expand all
31 filter += str; 31 filter += str;
32 ::testing::FLAGS_gtest_filter = filter; 32 ::testing::FLAGS_gtest_filter = filter;
33 } 33 }
34 34
35 int main(int argc, char **argv) { 35 int main(int argc, char **argv) {
36 ::testing::InitGoogleTest(&argc, argv); 36 ::testing::InitGoogleTest(&argc, argv);
37 37
38 #if ARCH_X86 || ARCH_X86_64 38 #if ARCH_X86 || ARCH_X86_64
39 const int simd_caps = x86_simd_caps(); 39 const int simd_caps = x86_simd_caps();
40 if (!(simd_caps & HAS_MMX)) 40 if (!(simd_caps & HAS_MMX))
41 append_negative_gtest_filter(":MMX/*"); 41 append_negative_gtest_filter(":MMX.*:MMX/*");
42 if (!(simd_caps & HAS_SSE)) 42 if (!(simd_caps & HAS_SSE))
43 append_negative_gtest_filter(":SSE/*"); 43 append_negative_gtest_filter(":SSE.*:SSE/*");
44 if (!(simd_caps & HAS_SSE2)) 44 if (!(simd_caps & HAS_SSE2))
45 append_negative_gtest_filter(":SSE2/*"); 45 append_negative_gtest_filter(":SSE2.*:SSE2/*");
46 if (!(simd_caps & HAS_SSE3)) 46 if (!(simd_caps & HAS_SSE3))
47 append_negative_gtest_filter(":SSE3/*"); 47 append_negative_gtest_filter(":SSE3.*:SSE3/*");
48 if (!(simd_caps & HAS_SSSE3)) 48 if (!(simd_caps & HAS_SSSE3))
49 append_negative_gtest_filter(":SSSE3/*"); 49 append_negative_gtest_filter(":SSSE3.*:SSSE3/*");
50 if (!(simd_caps & HAS_SSE4_1)) 50 if (!(simd_caps & HAS_SSE4_1))
51 append_negative_gtest_filter(":SSE4_1/*"); 51 append_negative_gtest_filter(":SSE4_1.*:SSE4_1/*");
52 if (!(simd_caps & HAS_AVX)) 52 if (!(simd_caps & HAS_AVX))
53 append_negative_gtest_filter(":AVX/*"); 53 append_negative_gtest_filter(":AVX.*:AVX/*");
54 if (!(simd_caps & HAS_AVX2)) 54 if (!(simd_caps & HAS_AVX2))
55 append_negative_gtest_filter(":AVX2/*"); 55 append_negative_gtest_filter(":AVX2.*:AVX2/*");
56 #endif 56 #endif
57 57
58 #if !CONFIG_SHARED 58 #if !CONFIG_SHARED
59 // Shared library builds don't support whitebox tests 59 // Shared library builds don't support whitebox tests
60 // that exercise internal symbols. 60 // that exercise internal symbols.
61 61
62 #if CONFIG_VP8 62 #if CONFIG_VP8
63 vp8_rtcd(); 63 vp8_rtcd();
64 #endif // CONFIG_VP8 64 #endif // CONFIG_VP8
65 #if CONFIG_VP9 65 #if CONFIG_VP9
66 vp9_rtcd(); 66 vp9_rtcd();
67 #endif // CONFIG_VP9 67 #endif // CONFIG_VP9
68 vpx_dsp_rtcd(); 68 vpx_dsp_rtcd();
69 vpx_scale_rtcd(); 69 vpx_scale_rtcd();
70 #endif // !CONFIG_SHARED 70 #endif // !CONFIG_SHARED
71 71
72 return RUN_ALL_TESTS(); 72 return RUN_ALL_TESTS();
73 } 73 }
OLDNEW
« no previous file with comments | « source/libvpx/test/test_intra_pred_speed.cc ('k') | source/libvpx/test/test_vectors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698