Prototypes | |
def | test_python_scripts.read_exclude_file (source) |
Read all excluded file paths from the given source file. More... | |
def | test_python_scripts.parse_pybin_scripts (path, var="pybin_scripts") |
Yield script names from the relevant Makefile list variable. More... | |
def | test_python_scripts.find_scripts (path) |
Yields the script names of python files in the given directory. More... | |
def | test_python_scripts.test_help (script) |
Test that <script> --help can be executed for the named script. More... | |
Go to the source code of this file.
Namespaces | |
namespace | test_python_scripts |
Variables | |
string | test_python_scripts.PACKAGE = "lal" |
string | test_python_scripts.CONDA_BUILD_TEST = "TEST" |
list | test_python_scripts.DEFAULT_PYTEST_ARGUMENTS |
test_python_scripts.HERE = Path(__file__).parent.absolute() | |
tuple | test_python_scripts.BUILDDIR = (HERE / Path(".")).resolve() |
tuple | test_python_scripts.SRCDIR = (HERE / Path(".")).resolve() |
tuple | test_python_scripts.TOPBUILDDIR = (HERE / Path("../..")).resolve() |
tuple | test_python_scripts.BINDIR = BUILDDIR |
tuple | test_python_scripts.EXCLUDEFILE = SRCDIR / "exclude-scripts.txt" |
def | test_python_scripts.EXCLUDE = read_exclude_file(SRCDIR / "exclude-scripts.txt") |
test_python_scripts.SCRIPTS = sorted(parse_pybin_scripts(BINDIR / "Makefile")) | |
list | test_python_scripts.args = sys.argv[1:] or DEFAULT_PYTEST_ARGUMENTS |
test_python_scripts.code = pytest.main(args=[__file__] + args) | |