diff --git a/metrics/ignores/platform-ios-metal.json b/metrics/ignores/platform-ios-metal.json new file mode 100644 index 000000000..f4fb4c2c9 --- /dev/null +++ b/metrics/ignores/platform-ios-metal.json @@ -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" +} diff --git a/metrics/ios-metal-render-test-runner-metrics.json b/metrics/ios-metal-render-test-runner-metrics.json index 8679b9592..6e938b691 100644 --- a/metrics/ios-metal-render-test-runner-metrics.json +++ b/metrics/ios-metal-render-test-runner-metrics.json @@ -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" } \ No newline at end of file diff --git a/metrics/ios-metal-render-test-runner-style.json b/metrics/ios-metal-render-test-runner-style.json index bdacb3f9d..81ecb72bb 100644 --- a/metrics/ios-metal-render-test-runner-style.json +++ b/metrics/ios-metal-render-test-runner-style.json @@ -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": [ diff --git a/render-test/metadata.hpp b/render-test/metadata.hpp index 95b79f888..c444f7c0a 100644 --- a/render-test/metadata.hpp +++ b/render-test/metadata.hpp @@ -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;