You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description = run the tests with pytest against the universal preCICE mock
package = sdist
wheel_build_env = .pkg
; PYPRECICE_MOCKED makes setup.py skip linking libprecice; the preCICE symbols
; are provided at runtime by preloading the universal preCICE mock
; (libpreciceMocked.so, built from extras/mock in the preCICE repository).
; Point PRECICE_MOCK_LIB to that library before running tox.
setenv =
PYPRECICE_MOCKED = True
LD_PRELOAD = {env:PRECICE_MOCK_LIB:}
passenv =
PRECICE_MOCK_LIB
deps =
pytest>=6
commands_pre =
python -c "import os, sys; lib = os.environ.get('LD_PRELOAD', ''); sys.exit(None if os.path.isfile(lib) else 'PRECICE_MOCK_LIB must point to libpreciceMocked.so (the universal preCICE mock), which is preloaded into the test run.')"