Metal render tests ignore (#1900)

This commit is contained in:
Alex Cristici
2023-11-29 21:03:02 +02:00
committed by GitHub
parent f16aae6c66
commit abd0be7568
4 changed files with 14 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
{
"render-tests/fill-outline-color/zoom-and-property-function": "It will be fixed after triangulated lines will support data driven properties",
"render-tests/fill-outline-color/property-function": "It will be fixed after triangulated lines will support data driven properties",
"render-tests/text-pitch-alignment/map-text-depthtest": "Layer Z Fighting: https://github.com/maplibre/maplibre-native/issues/1847",
"render-tests/fill-extrusion-color/function": "Layer Z Fighting: https://github.com/maplibre/maplibre-native/issues/1847"
}

View File

@@ -8,7 +8,8 @@
"ignore_paths": [
"ignores/platform-all.json",
"ignores/platform-macos.json",
"ignores/platform-ios.json"
"ignores/platform-ios.json",
"ignores/platform-ios-metal.json"
],
"metric_path": "ios-render-test-runner"
}

View File

@@ -8,7 +8,8 @@
"ignore_paths": [
"ignores/platform-all.json",
"ignores/platform-macos.json",
"ignores/platform-ios.json"
"ignores/platform-ios.json",
"ignores/platform-ios-metal.json"
],
"metric_path": "ios-render-test-runner",
"probes": [

View File

@@ -152,7 +152,11 @@ struct TestMetadata {
// error message: "Failed to find expectations for..., to prevent
// unit test error by missing metric.json, can turn on 'ignoreProbing'
// to prevent the unit test fail, and just verify the render result.
#if MLN_LEGACY_RENDERER
bool ignoreProbing = false;
#else
bool ignoreProbing = true;
#endif
mbgl::Size size{512u, 512u};
float pixelRatio = 1.0f;