Skip to content

Commit

Permalink
test_ogrmerge.py: avoid failure on ASAN CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Dec 3, 2024
1 parent dcd8775 commit 671c0ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions autotest/pyscripts/test_ogrmerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

import sys

import gdaltest
import pytest
import test_py_scripts
from test_py_scripts import samples_path
Expand All @@ -39,6 +40,9 @@ def script_path():

def test_ogrmerge_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, "ogrmerge", "--help"
)
Expand All @@ -50,6 +54,9 @@ def test_ogrmerge_help(script_path):

def test_ogrmerge_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, "ogrmerge", "--version"
)
Expand Down

0 comments on commit 671c0ed

Please sign in to comment.