New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make it possible to launch binary using --launch-agent #21
Conversation
Also if you have a better name than |
It seems to work as expected if I run the test manually
But I'm having trouble running it through ctest. The following works
which will use the default number of procs, but not if I add additional options to
Then I get the following error from
Not sure what to make of this, but I get exactly the same error message if I use e.g. |
Thanks for testing! I will look at the ctest side of it which I did not test yesterday. |
I tried this (in GIMIC) and it behaved normally: add_test(
NAME ${_name}
COMMAND ./test
--binary-dir=${PROJECT_BINARY_DIR}/bin
--work-dir=${PROJECT_BINARY_DIR}/test/${_name}
--launch-agent "valgrind --leak-check=yes"
--verbose
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/test/${_name}
) Can you test this form on your side? |
Yes, this works! |
Brilliant! I am merging now but will hopefully very soon put a new version out on PyPI. |
Latest version is now on PyPI: https://pypi.org/project/runtest/ |
@stigrj can you please test this?