Debian: Where to put the test suite when building a package?

From FVue
Jump to: navigation, search

Problem

I'm doing a rewrite of bash-completion: bash-completion-lib, and I'm trying to build a Debian package. Bash-completion-lib contains a test suite (using DejaGnu) and I'm not sure how to fit the test suite into the package.

Currently I'm packaging bash-completion-lib as a source package without the test suite. But - although non-essential - the test suite is an important part of the upstream package and I would like it to be able to install easily so people can use test suite results in bug reports. Is it ok to add the test suite to the source package? Or would it be better to create a separate package holding the test suite? Or should I put bash-completion-lib in a 'binary' package (although it's just shell scripts) and put the source plus test suite in a source package? Is there a best practice?

Journal

20080827

http://www.phoronix-test-suite.com/documentation/1.0/install.html
The Phoronix Test Suite is installed in /usr/share/phoronix-test-suite/. My test suite does write to file however, and according to the Filesystem Hierarchy Standard /usr should not be written to? So the test suite should write its files to /var?
http://www.ada-france.org/debian/debian-ada-policy.html
"The test suite is available in the GNAT source package; to get the test suite, just apt-get source gnat and look in the testsuite directory."

Comments

blog comments powered by Disqus