Disable tests with bit depth other than 8

This commit is contained in:
Ari Lemmetti 2015-08-12 11:36:32 +03:00
parent 4122f36089
commit f6ffa1af8b

View file

@ -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();
}