-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fixed unbound cmvers variable #4549
Conversation
Can you explain why this case wasn't hit by the test added in #4444? Is it possible to add something to exercise this case (per http://mesonbuild.com/Contributing.html#tests) |
This bug is triggered when CMake is not found by meson. Since CMake is installed in all test environments this bug doesn't occur there. I will try to add a unit test for this, which should be possible since the CMake executable can also be retrieved via os.environ['CMAKE']. Though I don't know if it is OK to set environment variables in unit tests. |
master hit this now because the azure msys2 build doesn't have cmake installed (should it? I didn't see a test difference) |
The test currently should only run on Linux (it is in the In short yes. |
The CI still fails. I am looking into it. |
The caused by the CMake backend raising an exception with the message "CMake not found" but the test_dependency unit test requires an exception with the format |
@lazka Actually no. Azure does not need CMake since the tests (currently) only run on Linux. Though this might change in the future. |
thanks @mensinda. There is still an error on master
I've opened #4552 to install cmake for msys2 which makes things work here. |
Fixes a crash.