[rb-general] Finding Packages With Tests

Holger Levsen holger at layer-acht.org
Thu Feb 21 17:24:49 CET 2019


Hi,

On Thu, Feb 21, 2019 at 10:56:05AM -0500, Omar Navarro Leija wrote:
> I'm part of a team at UPenn researching tools for building package
> reproducibly. We use the Debian Apt Repo for our testing. Currently, we're
> verifying "correctness" for our builds, that is, does the package not only
> build reproducibly, but work as intended after running through our tool.
 
when you say "reproducibly" here, do you mean 'repeatable'? on this
mailinglist we are usually using the word as in defined in
https://reproducible-builds.org/docs/definition/ though...

> We have manually verified packages like blender, clang, latexmk, work by
> building them, and then running them manually.

nice!

> I know some packages come with built in unit tests that run during build
> time, which is the reason behind the DEB_BUILD_OPTIONS=nocheck flag. I want
> to find these packages with tests and run them.
>
> Is there some way to identify which packages which have built in tests?

yes. look for the file debian/tests/control in the source packages. One
very simple example is in
https://sources.debian.org/src/vrms/1.24/debian/tests/control/
(though this is only present in the vrms package since Buster.)

Also you will want to look at https://ci.debian.net/ and
https://ci.debian.net/doc/ if you haven't done this already.

> We're working with Debian Wheezy currently.
 
oh dear. I'd strongly recommend you switch to Debian Buster, or at least
Stretch. Both Jessie and Wheeze are EOLed by Debian (though for both
(e)LTS support exists.) I really wouldn't base any development on them, 
not even research development ;)

> Thanks for any advice!

Please share your findings! 


-- 
tschau,
	Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20190221/4c61d962/attachment.sig>


More information about the rb-general mailing list