Skip to content

Commit

Permalink
test_gdal_edit.py / test_gdal_proximity.py: skip on sanitize CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Nov 13, 2024
1 parent 9cc1ae5 commit fbaa99c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions autotest/pyscripts/test_gdal_edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import shutil
import sys

import gdaltest
import pytest
import test_py_scripts

Expand Down Expand Up @@ -46,6 +47,9 @@ def script_path():

def test_gdal_edit_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, "gdal_edit", "--help"
)
Expand All @@ -57,6 +61,9 @@ def test_gdal_edit_help(script_path):

def test_gdal_edit_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, "gdal_edit", "--version"
)
Expand Down
7 changes: 7 additions & 0 deletions autotest/pyscripts/test_gdal_proximity.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# SPDX-License-Identifier: MIT
###############################################################################

import gdaltest
import pytest
import test_py_scripts

Expand All @@ -35,6 +36,9 @@ def script_path():

def test_gdal_proximity_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, "gdal_proximity", "--help"
)
Expand All @@ -46,6 +50,9 @@ def test_gdal_proximity_help(script_path):

def test_gdal_proximity_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, "gdal_proximity", "--version"
)
Expand Down

0 comments on commit fbaa99c

Please sign in to comment.