9 Commits

Author SHA1 Message Date
Kevin Burke b4865dab24 util: retry GNU tar setup downloads
The GNU tar CI job depends on git.savannah.gnu.org, which can fail
transiently during clone or submodule setup. Retry those network-dependent
setup steps with exponential backoff before failing the job.

Keep cleanup scoped to failed clone attempts, fail early if path_GNU already
points at a non-git directory, and tighten the helper script with pipefail and
shellcheck-clean quoting.
2026-05-18 08:46:15 -07:00
Jeff Bailey 65cd987c74 Merge pull request #137 from kevinburkesegment/fix-gnu-test-badversion
Fix GNU test suite reporting real pass/fail results
2026-04-03 20:29:54 +01:00
oech3 5eb84dd1c6 GnuTests: support any build profile 2026-04-02 16:50:50 +02:00
Kevin Burke e077e08aa5 Fix GNU test suite reporting real pass/fail results
The GNU tar test suite's version.at (test 1) creates a .badversion
file when `tar --version` doesn't match the expected GNU tar output.
This causes AT_XFAIL_IF to mark every subsequent test as "expected
failure", hiding real results — all tests appear as XFAIL instead of
actual PASS or FAIL.

Fix this by:
- Generating the testsuite script first via `make -C tests testsuite`
- Patching it to redirect the .badversion write to /dev/null
- Removing any stale .badversion before running
- Touching src/tar after copy to prevent make from relinking it

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 10:05:46 -07:00
Jeff Bailey 87120ae1d1 ci: remove preinstalled apt packages and use command -v for tool detection
Remove autoconf, bison, texinfo, gcc, g++, and jq from apt-get install
since they are preinstalled on the ubuntu-24.04 runner image.

Replace the OSTYPE case block in run-gnu-test.sh with command -v probing
for MAKE, NPROC, and READLINK, as suggested by @oech3.
2026-03-29 15:28:17 +00:00
Jeff Bailey ff6be279d5 ci: clean up GNU test workflows and optimize utility scripts
- Remove redundant comparison script
- Fix missing artifact upload for PR comments
- Optimize GNU log extraction and build bootstrapping
- Standardize workflow paths and environment variables
2026-03-29 15:16:11 +00:00
Jeff Bailey be5b4923aa ci: implement GNU test result aggregation and comparison
- Add extraction of GNU test results into JSON artifacts
- Add aggregation job to summarize results and compare against reference
- Enable continue-on-error for GNU tests to allow workflow completion on failures
- Align log compression and upload behavior with coreutils CI
2026-03-29 15:16:11 +00:00
Jeff Bailey 55f72b555d GitHub Actions workflow for running GNU tar tests
This checks out GNU tar and runs its test suite
against our built tar binary.

The hooks in autotest aren't working correctly,
so we manually overwrite the built binary with
our generated binary for testing.
2026-03-29 15:16:11 +00:00
Sylvestre Ledru 495de53f0d empty sed for reimplementation 2025-02-01 18:07:27 +01:00