CInema: Fix xbaseline differences being ignored with no baseline
This commit is contained in:
parent
a171c54b9a
commit
1f6337fc1f
Binary file not shown.
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@ -1177,7 +1177,7 @@ void CInemaTestRun(struct CInemaTest* test) {
|
|||||||
if (test->status == CI_ERROR) {
|
if (test->status == CI_ERROR) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
bool failed = false;
|
bool failed = true;
|
||||||
if (baselineFound) {
|
if (baselineFound) {
|
||||||
int max = 0;
|
int max = 0;
|
||||||
failed = !_compareImages(test, &image, &expected, &max, diffs ? &diff : NULL);
|
failed = !_compareImages(test, &image, &expected, &max, diffs ? &diff : NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user