Source: cunit
Version: 2.1-3-dfsg-2.3
Severity: normal
Tags: patch

Dear maintainer,

While working on bug #994055 I noticed that your autopkgtest has the
needs-build restriction. I think that's unneeded and instead of
testing the binaries in the archive, the just built binaries are
tested. The change is simple; drop the restriction and instead make
the test dependent on libcunit1-dev.

index abc6a4f..71439f1 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,2 @@
 Tests: test.sh
-Depends: gcc, libc6-dev
-Restrictions: build-needed
+Depends: libcunit1-dev, gcc, libc6-dev

Paul

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to