Skip to content

Commit

Permalink
test_ogr_layer_algebra: avoid failure on CI sanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault authored and github-actions[bot] committed Dec 1, 2024
1 parent 93b8efb commit 3bdcdae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions autotest/pyscripts/test_ogr_layer_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# SPDX-License-Identifier: MIT
###############################################################################

import gdaltest
import ogrtest
import pytest
import test_py_scripts
Expand All @@ -38,6 +39,9 @@ def script_path():

def test_ogr_layer_algebra_help(script_path):

if gdaltest.is_travis_branch("sanitize"):
pytest.skip("fails on sanitize for unknown reason")

assert "ERROR" not in test_py_scripts.run_py_script(
script_path, "ogr_layer_algebra", "--help"
)
Expand All @@ -49,6 +53,9 @@ def test_ogr_layer_algebra_help(script_path):

def test_ogr_layer_algebra_version(script_path):

if gdaltest.is_travis_branch("sanitize"):
pytest.skip("fails on sanitize for unknown reason")

assert "ERROR" not in test_py_scripts.run_py_script(
script_path, "ogr_layer_algebra", "--version"
)
Expand Down

0 comments on commit 3bdcdae

Please sign in to comment.