Package: libtpms Version: 0.8.2-1 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jammy ubuntu-patch
Hi Seunghun, We are including libtpms in Ubuntu main (for TPM support in VMs), and as part of that promotion process we try to cover as many packages as possible with autopkgtests. Attached is an implementation of a simple autopkgtest, that provides some assurance of ongoing functionality of libtpms. Unfortunately due to the general structure of automake-driven testing this test rebuilds the library and runs tests against the new binaries, not against the .debs from the archive; but this is arguably better than nothing. Thanks for considering, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru libtpms-0.9.0/debian/tests/control libtpms-0.9.0/debian/tests/control --- libtpms-0.9.0/debian/tests/control 1969-12-31 16:00:00.000000000 -0800 +++ libtpms-0.9.0/debian/tests/control 2021-11-05 09:10:26.000000000 -0700 @@ -0,0 +1,2 @@ +Tests: run-tests +Depends: @, @builddeps@ diff -Nru libtpms-0.9.0/debian/tests/run-tests libtpms-0.9.0/debian/tests/run-tests --- libtpms-0.9.0/debian/tests/run-tests 1969-12-31 16:00:00.000000000 -0800 +++ libtpms-0.9.0/debian/tests/run-tests 2021-11-05 09:10:09.000000000 -0700 @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +dh_autoreconf 2>/dev/null +./debian/rules override_dh_auto_configure + +make check VERBOSE=1