Improvements to gaudi_add_pytest
- make pytest tests collection easier to debug by failing the build if pytest fails and print the whole pytest output
- pass
CMAKE_CURRENT_BINARY_DIR
to pytest tests as an environment variable - add the
DEPENDS
option togaudi_add_pytest
so that we can require specific targets to be build before we try to discover tests (see lhcb/LHCb!4667 (merged))
Edited by Marco Clemencic