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
Missing working ctest example #72
Comments
I don't understand - what exactly is missing and where? |
autocmake lacks very ctest example, IMHO (and I can not set up it in another project as related issue...) |
OK testing is very project-dependent. We could abstract one or two lines
but still the user has to write something. One thing that Autocmake cannot do much I think what you are missing is documentation on how to do this. |
Well, I'd need one very simple running Ctest in autocmake. I can't set it up in another projekt, based on autocmake. |
Here are explicit examples where I use that: |
In this example a new test requires own target and libraries. Plain add_test(${PROJECT_BINARY_DIR}/bin/example) is not working. |
Well, maybe I should try the cmake/custom/test.cmake approach. |
The |
I got the make test target. Even make test works after the target compilation. But the configuration is not working, claiming missing libraries, LAPACK/BLAS libraries not found for the project! . |
Well, make VERBOSE=1 ExperimentalConfigure give error of LAPACK_FOUND=FALSE. Strange that when calling it as test, is does not find libraries, althogh the previous compilation works.... |
As I am trying to adapt tests for https://github.com/miroi/mathlibs-tester, I am missing working ctest-autocmake example.
Is it worth for consideration ?
The text was updated successfully, but these errors were encountered: