Integrate downstream Debian autopkgtests via DESTDIR staging#156
Closed
rkt0209 wants to merge 11 commits into
Closed
Integrate downstream Debian autopkgtests via DESTDIR staging#156rkt0209 wants to merge 11 commits into
rkt0209 wants to merge 11 commits into
Conversation
64ddfc0 to
220e6f5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wires the downstream Debian autopkgtests into the existing CI so they run
against a staged build tree - unprivileged, with no
mount --bind, proot,or privileged containers.
What's included
make stage-ciroot): installs into an ephemeral_ciroot/, stages the 8make checktest binaries and their imagedata, and rewrites
libcupsfilters.pcto point at the staged tree.libcupsfilters-2-dev— pkg-config compile/link/run underdbus-run-session.libcupsfilters-2-functionality— runs all 8 test programs(
testdither,testpdf1/2,test-analyze,test-pdf,test-ps,testcmyk,testrgb) against the staged binaries and data.Approach
Tests resolve paths through environment overrides
(
LIBCUPSFILTERS_BINDIR,LIBCUPSFILTERS_TESTDIR) that default to thesystem
/usrpaths but redirect into the staging tree during CI. Theonly change to the downstream script is two
: "${VAR:=/usr/...}"fallback lines, so it stays fully backward-compatible with the normal
Debian autopkgtest run.