Skip to content

Integrate downstream Debian autopkgtests via DESTDIR staging#156

Closed
rkt0209 wants to merge 11 commits into
OpenPrinting:masterfrom
rkt0209:add-multi-arch-ci
Closed

Integrate downstream Debian autopkgtests via DESTDIR staging#156
rkt0209 wants to merge 11 commits into
OpenPrinting:masterfrom
rkt0209:add-multi-arch-ci

Conversation

@rkt0209

@rkt0209 rkt0209 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

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

  • DESTDIR staging (make stage-ciroot): installs into an ephemeral
    _ciroot/, stages the 8 make check test binaries and their image
    data, and rewrites libcupsfilters.pc to point at the staged tree.
  • Both downstream autopkgtests wired into the build on every arch:
    • libcupsfilters-2-dev — pkg-config compile/link/run under
      dbus-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 the
system /usr paths but redirect into the staging tree during CI. The
only change to the downstream script is two : "${VAR:=/usr/...}"
fallback lines, so it stays fully backward-compatible with the normal
Debian autopkgtest run.

@rkt0209 rkt0209 force-pushed the add-multi-arch-ci branch from 64ddfc0 to 220e6f5 Compare June 18, 2026 02:09
@rkt0209 rkt0209 closed this Jun 18, 2026
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.

1 participant