-
Notifications
You must be signed in to change notification settings - Fork 430
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
PDAL 2.6.2 is not able to run tests (could not find test executables) #4280
Comments
I'm quite sure the tests are assuming they're running relative to the source directory to find their test data and such. If you make a PR that fixes this, it must also install the test data (where? 🤷). This is why we have punted on this. |
Thank you very much for replying. The problem is that tests are installed to incorrect directory. It looks like the leading slash of absolute binaries path is lost and then it is appended to source directory as relative path. |
Can you please pull #4291 and see if it corrects this issue for you? |
* use standard CMake variables for install and build locations to attempt to address #4280 * PDAL_DRIVER_PATH subs * shut off cmake debug
* use standard CMake variables for install and build locations to attempt to address PDAL#4280 * PDAL_DRIVER_PATH subs * shut off cmake debug
Describe the bug
When building PDAL 2.6.2 for Nixpkgs, it is not possible to run tests after the build. Test binaries are installed to
source/build/<ABSOLUTE-PATH-TO-SOURCE-AGAIN>/build/bin/
instead ofsource/build/bin/
directory.Error message:
CMake flags:
NOTE:
pdal
andpdal-config
binaries are installed correctly and package works properly. The problem occurs only with test binaries.Expected behavior
Tests can be correctly launched.
The text was updated successfully, but these errors were encountered: