-
Notifications
You must be signed in to change notification settings - Fork 262
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
current main branch fails make -j distcheck due to missing dap4_test subdirectories in the autotools build files #2544
Comments
I also fails make distcheck, so this is not a parallel build/test issue. When I look in the log for the failed tests I see:
The problem here is the dap4_test/baseline (and perhaps other directories under dap4_test) does not have a Makefile.am. If you just want to distribute the files in this directory for testing, we need a Makefile.am which lists all the files as EXTRA_DIST. I will submit a PR and see if that fixes my distcheck... |
...BTW it seems like this problem would also be present in the tarball release. That is, the tarball release, if constructed with make dist, will only contain the files listed in the Makefile.am files. @DennisHeimbigner unfortunately we cannot list subdirectories in EXTRA_DIST, only files. ;-) |
I have a fix to this but I have to turn off nczarr_test/run_scalar.sh for it to work. See #2545 |
I am doing a distcheck right now, and it looks like I can |
This path issue is fixed in the 4.9.1 wellspring branch and will be back propagated to main in due time. I'll take a look at doing that early, but no changes to fix it are needed now. I'll be back in town next Tuesday and will bring this fix to Main if nothing else. |
re: Issue Unidata#2545 re: Issue Unidata#2544 1. Test nczarr_test/run_scalar.sh was incorrectly accessing ref_scalar.cdl. 2. Disable dap4 testing until fixed for netcdf-java.
Putting globs or directories in an Autotools file list is discouraged, but putting files in a subdirectory is perfectly allowed, and sometimes encouraged. |
I am surprised; Autotools seems to handle directories with no problems. |
For wildcards/globs, there's this section of the documentation explaining the reasons; requesting tests in PRs and running tests in CI seem to cover most of their concerns. The one exception is lack of portability to non-GNU make, which may not be a concern here. I wasn't aware that Autotools accepted directories in In short: it looks like I failed to consider the Autotools advice in the context of CI. |
I believe this has been resolved, and I will close this issue. |
When I build like:
Then make -j check works. (Yea!)
But make -j distcheck does not work:
Note that I set DISTCHECK_CONFIGURE_FLAGS to --disable-dap-remote-tests, so should these tests even be running?
The text was updated successfully, but these errors were encountered: