diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-11-01 00:02:34 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-11-01 00:02:34 +0900 |
commit | 07b9d8ca554503c41bb479dc3159cfbcd9b0c5b2 (patch) | |
tree | 4ba1f15cfebad66aef787a9c8c689659a345878d /test/conftest.py | |
parent | 93b02300d58304f9cf80fbe152125248aefa658d (diff) |
add ctest to run pytest
Diffstat (limited to 'test/conftest.py')
-rw-r--r-- | test/conftest.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/conftest.py b/test/conftest.py new file mode 100644 index 0000000..9d67cec --- /dev/null +++ b/test/conftest.py @@ -0,0 +1,9 @@ +import pytest + +def pytest_addoption(parser): + parser.addoption("--mscp-path", default = "mscp", + help = "path to mscp binary") + +@pytest.fixture +def mscp(request): + return request.config.getoption("--mscp-path") |