uvg266/tests/tests_main.c

29 lines
523 B
C
Raw Normal View History

#include "greatest/greatest.h"
2013-09-20 14:06:53 +00:00
#include "test_strategies.h"
2013-09-20 14:06:53 +00:00
GREATEST_MAIN_DEFS();
extern SUITE(sad_tests);
2014-06-16 15:01:55 +00:00
extern SUITE(intra_sad_tests);
extern SUITE(satd_tests);
extern SUITE(speed_tests);
2013-09-20 14:06:53 +00:00
int main(int argc, char **argv)
2013-09-20 14:06:53 +00:00
{
GREATEST_MAIN_BEGIN();
init_test_strategies();
RUN_SUITE(sad_tests);
2014-06-16 15:01:55 +00:00
RUN_SUITE(intra_sad_tests);
RUN_SUITE(satd_tests);
if (greatest_info.suite_filter &&
greatest_name_match("speed", greatest_info.suite_filter))
{
RUN_SUITE(speed_tests);
}
GREATEST_MAIN_END();
}