From 09baa6bd5ece22eaafe4ecc2dd2161a8317f690b Mon Sep 17 00:00:00 2001 From: Ari Koivula Date: Fri, 18 Sep 2015 15:26:37 +0300 Subject: [PATCH] Fix intra_sad and satd_tests The tests were not being run, because the names have changed. --- tests/intra_sad_tests.c | 10 +++++----- tests/satd_tests.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/intra_sad_tests.c b/tests/intra_sad_tests.c index aa285a88..1497beb4 100644 --- a/tests/intra_sad_tests.c +++ b/tests/intra_sad_tests.c @@ -180,15 +180,15 @@ SUITE(intra_sad_tests) for (unsigned i = 0; i < strategies.count; ++i) { const char * type = strategies.strategies[i].type; - if (strcmp(type, "sad_8bit_4x4") == 0) { + if (strcmp(type, "sad_4x4") == 0) { test_env.log_width = 2; - } else if (strcmp(type, "sad_8bit_8x8") == 0) { + } else if (strcmp(type, "sad_8x8") == 0) { test_env.log_width = 3; - } else if (strcmp(type, "sad_8bit_16x16") == 0) { + } else if (strcmp(type, "sad_16x16") == 0) { test_env.log_width = 4; - } else if (strcmp(type, "sad_8bit_32x32") == 0) { + } else if (strcmp(type, "sad_32x32") == 0) { test_env.log_width = 5; - } else if (strcmp(type, "sad_8bit_64x64") == 0) { + } else if (strcmp(type, "sad_64x64") == 0) { test_env.log_width = 6; } else { continue; diff --git a/tests/satd_tests.c b/tests/satd_tests.c index b234ed01..efdcda08 100644 --- a/tests/satd_tests.c +++ b/tests/satd_tests.c @@ -170,19 +170,19 @@ SUITE(satd_tests) for (unsigned i = 0; i < strategies.count; ++i) { const char * type = strategies.strategies[i].type; - if (strcmp(type, "satd_8bit_4x4") == 0) { + if (strcmp(type, "satd_4x4") == 0) { satd_test_env.log_width = 2; } - else if (strcmp(type, "satd_8bit_8x8") == 0) { + else if (strcmp(type, "satd_8x8") == 0) { satd_test_env.log_width = 3; } - else if (strcmp(type, "satd_8bit_16x16") == 0) { + else if (strcmp(type, "satd_16x16") == 0) { satd_test_env.log_width = 4; } - else if (strcmp(type, "satd_8bit_32x32") == 0) { + else if (strcmp(type, "satd_32x32") == 0) { satd_test_env.log_width = 5; } - else if (strcmp(type, "satd_8bit_64x64") == 0) { + else if (strcmp(type, "satd_64x64") == 0) { satd_test_env.log_width = 6; } else {