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

Unified Diff: unit_test/cpu_test.cc

Issue 2001373002: remove row.h from unittests (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: test csum buffer is aligned Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « unit_test/convert_test.cc ('k') | unit_test/math_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: unit_test/cpu_test.cc
diff --git a/unit_test/cpu_test.cc b/unit_test/cpu_test.cc
index 5933ee442d87bcbbd86202579d2ea78061901fe9..0cd06f9b75b24bc6d61a404fd0b1fcaf1c00c17f 100644
--- a/unit_test/cpu_test.cc
+++ b/unit_test/cpu_test.cc
@@ -13,7 +13,6 @@
#include "libyuv/basic_types.h"
#include "libyuv/cpu_id.h"
-#include "libyuv/row.h" // For HAS_ARGBSHUFFLEROW_AVX2.
#include "libyuv/version.h"
#include "../unit_test/unit_test.h"
@@ -68,16 +67,9 @@ printf("_MSC_VER %d\n", _MSC_VER);
#if !defined(LIBYUV_DISABLE_X86) && (defined(GCC_HAS_AVX2) || \
defined(CLANG_HAS_AVX2) || defined(VISUALC_HAS_AVX2))
printf("Has AVX2 1\n");
- // If compiler supports AVX2, the following function is expected to exist:
-#if !defined(HAS_ARGBSHUFFLEROW_AVX2)
- EXPECT_TRUE(0); // HAS_ARGBSHUFFLEROW_AVX2 was expected.
-#endif
#else
printf("Has AVX2 0\n");
// If compiler does not support AVX2, the following function not expected:
-#if defined(HAS_ARGBSHUFFLEROW_AVX2)
- EXPECT_TRUE(0); // HAS_ARGBSHUFFLEROW_AVX2 was not expected.
-#endif
#endif
}
« no previous file with comments | « unit_test/convert_test.cc ('k') | unit_test/math_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698