[render tests][tile mode] Enable automatic labels cut-off detection

This commit is contained in:
Mikhail Pozdnyakov
2020-03-27 02:06:41 +02:00
parent c829ea7e92
commit b2ab0804f8
4 changed files with 68 additions and 4 deletions

View File

@@ -190,7 +190,7 @@ int runRenderTests(int argc, char** argv, std::function<void()> testStatus) {
runner.run(metadata);
}
bool errored = metadata.metricsErrored || metadata.renderErrored;
bool errored = metadata.metricsErrored || metadata.renderErrored || metadata.labelCutOffFound;
bool passed = !errored && !metadata.metricsFailed && !metadata.renderFailed;
if (shouldIgnore) {