Source: tpm2-tss Version: 4.1.3-1.2 Severity: wishlist Tags: patch Dear Maintainer,
Please find an attached patch to run the tests as part of autopkgtest. This is verified on the master branch of tpm2-tss salsa repository . -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-26-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Thanks & regards Zaiba Sanglikar
--- debian/tests/control | 4 ++++ debian/tests/testsuite | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 debian/tests/control create mode 100644 debian/tests/testsuite diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..ff9e48b --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,4 @@ +Tests: testsuite +Restrictions: allow-stderr +Depends: @, @builddeps@, udev,autoconf,automake,libtool,gcc,pkg-config, doxygen , libssl-dev, libcurl4-openssl-dev, libjson-c-dev, acl, libusb-1.0-0-dev , uthash-dev, procps, iproute2,libcmocka-dev,swtpm-tools,swtpm + diff --git a/debian/tests/testsuite b/debian/tests/testsuite new file mode 100644 index 0000000..b2fb0ec --- /dev/null +++ b/debian/tests/testsuite @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + + +./bootstrap +./configure --enable-unit --enable-integration --enable-tcti-swtpm + +make -j$(nproc) check --