mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Disable tests with bit depth other than 8
This commit is contained in:
parent
4122f36089
commit
f6ffa1af8b
|
@ -22,18 +22,20 @@
|
||||||
#include "test_strategies.h"
|
#include "test_strategies.h"
|
||||||
|
|
||||||
GREATEST_MAIN_DEFS();
|
GREATEST_MAIN_DEFS();
|
||||||
|
#if KVZ_BIT_DEPTH == 8
|
||||||
extern SUITE(sad_tests);
|
extern SUITE(sad_tests);
|
||||||
extern SUITE(intra_sad_tests);
|
extern SUITE(intra_sad_tests);
|
||||||
extern SUITE(satd_tests);
|
extern SUITE(satd_tests);
|
||||||
extern SUITE(speed_tests);
|
extern SUITE(speed_tests);
|
||||||
extern SUITE(dct_tests);
|
extern SUITE(dct_tests);
|
||||||
|
#endif //KVZ_BIT_DEPTH == 8
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
GREATEST_MAIN_BEGIN();
|
GREATEST_MAIN_BEGIN();
|
||||||
|
|
||||||
init_test_strategies(1);
|
init_test_strategies(1);
|
||||||
|
#if KVZ_BIT_DEPTH == 8
|
||||||
RUN_SUITE(sad_tests);
|
RUN_SUITE(sad_tests);
|
||||||
RUN_SUITE(intra_sad_tests);
|
RUN_SUITE(intra_sad_tests);
|
||||||
RUN_SUITE(satd_tests);
|
RUN_SUITE(satd_tests);
|
||||||
|
@ -44,6 +46,8 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
RUN_SUITE(speed_tests);
|
RUN_SUITE(speed_tests);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
printf("10-bit tests are not yet supported\n");
|
||||||
|
#endif //KVZ_BIT_DEPTH == 8
|
||||||
GREATEST_MAIN_END();
|
GREATEST_MAIN_END();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue