forked from MapServer/MapServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
331 additions
and
449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,43 @@ | ||
# coding: utf-8 | ||
import os | ||
import pytest | ||
import sys | ||
|
||
# Put the pymod dir on the path, so modules can `import pmstestlib` | ||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "pymod")) | ||
|
||
# These files may be non-importable, and don't contain tests anyway. | ||
# So we skip searching them during test collection. | ||
collect_ignore = [] | ||
collect_ignore = [ 'pymod/msautotest_viewer.py' ] | ||
|
||
|
||
def pytest_addoption(parser): | ||
parser.addoption( | ||
"--strict_mode", | ||
action="store_true", | ||
default=False, | ||
help="Strict mode", | ||
) | ||
|
||
parser.addoption( | ||
"--valgrind", | ||
action="store_true", | ||
default=False, | ||
help="Run under valgrind", | ||
) | ||
|
||
parser.addoption( | ||
"--run_under_asan", | ||
action="store_true", | ||
default=False, | ||
help="Run under ASAN", | ||
) | ||
|
||
parser.addoption( | ||
"--renderer", | ||
default=None | ||
) | ||
|
||
@pytest.fixture | ||
def extra_args(request): | ||
return request.config |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.