From f6ffa1af8ba45b93f7be2f2f9010c10ea3248a1d Mon Sep 17 00:00:00 2001 From: Ari Lemmetti Date: Wed, 12 Aug 2015 11:36:32 +0300 Subject: [PATCH] Disable tests with bit depth other than 8 --- tests/tests_main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/tests_main.c b/tests/tests_main.c index 6ba5b5e3..e395b3b6 100644 --- a/tests/tests_main.c +++ b/tests/tests_main.c @@ -22,18 +22,20 @@ #include "test_strategies.h" GREATEST_MAIN_DEFS(); +#if KVZ_BIT_DEPTH == 8 extern SUITE(sad_tests); extern SUITE(intra_sad_tests); extern SUITE(satd_tests); extern SUITE(speed_tests); extern SUITE(dct_tests); +#endif //KVZ_BIT_DEPTH == 8 int main(int argc, char **argv) { GREATEST_MAIN_BEGIN(); init_test_strategies(1); - +#if KVZ_BIT_DEPTH == 8 RUN_SUITE(sad_tests); RUN_SUITE(intra_sad_tests); RUN_SUITE(satd_tests); @@ -44,6 +46,8 @@ int main(int argc, char **argv) { RUN_SUITE(speed_tests); } - +#else + printf("10-bit tests are not yet supported\n"); +#endif //KVZ_BIT_DEPTH == 8 GREATEST_MAIN_END(); }