Commit ec9b54c8 authored by Axel Beckert's avatar Axel Beckert

Make package autopkgtestable

Add a "Testsuite: autopkgtest" header to debian/control as well as the
file debian/tests/control and debian/tests/testsuite.

The latter modifies tests/test.sh temporarily to make it use
/usr/bin/mp4h instead of src/mp4h.
parent 74b6ffce
......@@ -10,8 +10,9 @@ mp4h (1.3.1-10) UNRELEASED; urgency=medium
* Declare compliance with Debian Policy 3.9.6 (no other changes needed).
* Add lintian overrides for post{rm,inst}-has-useless-call-to-ldconfig
as this is caused by #204975 in debhelper.
* Add tests/*.{log,trs} to debian/clean.
* Add tests/*.{log,trs} and *.out to debian/clean.
* Use cgit and https URL in Vcs-Browser header.
* Make package autopkgtestable.
-- Axel Beckert <abe@debian.org> Tue, 12 May 2015 23:40:37 +0200
......
......@@ -13,3 +13,4 @@ pcre/dftables
tests/*/*.out
tests/*.log
tests/*.trs
*.out
......@@ -19,6 +19,7 @@ Build-Conflicts: autoconf2.13, automake1.4
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-wml/mp4h.git
Vcs-Git: git://anonscm.debian.org/pkg-wml/mp4h.git
Homepage: http://sourceforge.net/projects/mp4h/
Testsuite: autopkgtest
Package: mp4h
Architecture: any
......
Tests: testsuite
#!/bin/sh
sed -e 's:program=../../src/mp4h:program=/usr/bin/mp4h:' -i tests/test.sh
set -e
tests/test.sh
sed -e 's:program=/usr/bin/mp4h:program=../../src/mp4h:' -i tests/test.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment