Package: roc-toolkit Version: 0.3.0+dfsg-5 Tags: patch User: [email protected] Usertags: origin-ubuntu noble ubuntu-patch
The package currently has no autopkgtest, the attached patch creates a new -tests binary package and use it as autopkgtest.
Testlog from an Ubuntu ppa upload https://autopkgtest.ubuntu.com/results/autopkgtest-noble-ubuntu-desktop-transitions/noble/amd64/r/roc-toolkit/20231222_093603_97108@/log.gz Cheers, Sébastien
diff -Nru roc-toolkit-0.3.0+dfsg/debian/changelog roc-toolkit-0.3.0+dfsg/debian/changelog --- roc-toolkit-0.3.0+dfsg/debian/changelog 2023-12-13 21:37:47.000000000 +0100 +++ roc-toolkit-0.3.0+dfsg/debian/changelog 2023-12-22 09:36:51.000000000 +0100 @@ -1,3 +1,9 @@ +roc-toolkit (0.3.0+dfsg-6) UNRELEASED; urgency=medium + + * Install the upstream tests in a new binary and use it for autopkgtests + + -- Sebastien Bacher <[email protected]> Fri, 22 Dec 2023 09:36:51 +0100 + roc-toolkit (0.3.0+dfsg-5) unstable; urgency=medium [ Sebastien Bacher ] diff -Nru roc-toolkit-0.3.0+dfsg/debian/control roc-toolkit-0.3.0+dfsg/debian/control --- roc-toolkit-0.3.0+dfsg/debian/control 2023-12-13 21:37:47.000000000 +0100 +++ roc-toolkit-0.3.0+dfsg/debian/control 2023-12-22 09:36:51.000000000 +0100 @@ -67,3 +67,18 @@ these are performed transparently under the hood. . This package provides the roc-toolkit tools. + +Package: roc-toolkit-tests +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends} +Multi-Arch: foreign +Description: real-time audio streaming over the network (tests) + Roc is a network transport, highly specialized for the real-time streaming use + case. The user writes the stream to the one end and reads it from another end, + and Roc deals with all the complexity of the task of delivering data in time + and with no loss. Encoding, decoding, adjusting rates, restoring losses - all + these are performed transparently under the hood. + . + This package contains test programs from the upstream code which are used + for the autopkgtests. diff -Nru roc-toolkit-0.3.0+dfsg/debian/roc-toolkit-tests.install roc-toolkit-0.3.0+dfsg/debian/roc-toolkit-tests.install --- roc-toolkit-0.3.0+dfsg/debian/roc-toolkit-tests.install 1970-01-01 01:00:00.000000000 +0100 +++ roc-toolkit-0.3.0+dfsg/debian/roc-toolkit-tests.install 2023-12-22 09:33:21.000000000 +0100 @@ -0,0 +1 @@ +bin/*/roc-test-* usr/libexec/roc-toolkit/ diff -Nru roc-toolkit-0.3.0+dfsg/debian/tests/control roc-toolkit-0.3.0+dfsg/debian/tests/control --- roc-toolkit-0.3.0+dfsg/debian/tests/control 1970-01-01 01:00:00.000000000 +0100 +++ roc-toolkit-0.3.0+dfsg/debian/tests/control 2023-12-22 09:36:41.000000000 +0100 @@ -0,0 +1,3 @@ +Test-Command: for t in /usr/libexec/roc-toolkit/roc-test-*; do echo $t; $t; done +Depends: roc-toolkit-tests +

