Skip to content

Conversation

@wrp
Copy link

@wrp wrp commented Dec 24, 2025

The 'distcheck' recipe should work, and it should execute the test suite. This PR adds a wrapper script to invoke testprog and adds all the necessary source files to the distribution tarball so that the distcheck target can run.

This PR stacks on #113. Since all of the autotool meta-data files are included in the repository, the diff appears significant, but this is just few lines in Makefile.am and the addition of the run-test script.

wrp added 4 commits December 24, 2025 06:40
Comments relevant only to Makefile.am do *not* belong in Makefile.in.
The built in rule causes testprog.out to be overwritten by a libtool
wrapper script, which is not desired behavior.
@esabol
Copy link
Contributor

esabol commented Dec 24, 2025

There's already a test for this in https://github.com/HEASARC/cfitsio/blob/develop/.github/workflows/ci.yml, so there's some redundancy here with your run-test script. If this were to be merged, the CI workflow should be modified to use your run-test script.

@wrp wrp force-pushed the add-check-target branch 2 times, most recently from f2b661a to f528033 Compare December 25, 2025 00:19
@esabol
Copy link
Contributor

esabol commented Dec 25, 2025

Thank you for adding the modifications to the ci.yml. 👍

@wrp wrp force-pushed the add-check-target branch from f528033 to 23d127d Compare December 26, 2025 13:40
@wrp wrp force-pushed the add-check-target branch from 23d127d to 204543c Compare December 26, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants