Fix intra_sad and satd_tests

The tests were not being run, because the names have changed.
This commit is contained in:
Ari Koivula 2015-09-18 15:26:37 +03:00
parent 63ab4068be
commit 09baa6bd5e
2 changed files with 10 additions and 10 deletions

View file

@ -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;

View file

@ -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 {