Conversation
|
Hm, I guess it's fine to have them there. May help if someone wants to |
This reverts commit 2af70f5.
Try dropping `libtests.c`, `servers.c`, `tunits.c`, `units.c` from distro tarball. Closes curl#22686
This reverts commit ff5608f.
Replacing individual names for each. They are in different subdirectories, thus the same source filename is fine. To simplify excluding them from the source tarball.
This reverts commit 4c90e3d.
|
This method seems to work: https://github.com/curl/curl/actions/runs/33176294798/job/98866767685?pr=22686 Minor downside, it needs the bundle name be hardcoded into the |
There was a problem hiding this comment.
Pull request overview
Prevents generated test-bundle C files from being included in source distributions.
Changes:
- Marks all four generated bundle sources as
nodist. - Retains existing cleanup behavior.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
tests/unit/Makefile.am |
Excludes units.c from distributions. |
tests/tunit/Makefile.am |
Excludes tunits.c from distributions. |
tests/server/Makefile.am |
Excludes servers.c from distributions. |
tests/libtest/Makefile.am |
Excludes libtests.c from distributions. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Drop
libtests.c,servers.c,tunits.c,units.cfrom source distrotarball.
Minor downside: it needs the bundle name be hardcoded into the
nodist_<BUNDLE>_SOURCES =lines.Also:
CLEANFILESis still required after this.Ref: #22722 (alternate solution)
Ref: #22723 (experiment)
Follow-up to 71cf0d1 #14772