On 2/21/19 10:56 AM, Omar Navarro Leija wrote: > Hello, > > 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. > > We have manually verified packages like blender, clang, latexmk, work by > building them, and then running them manually. > > 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? > We're working with Debian Wheezy currently.
I think that packages which contain a testsuite should define a Makefile target for override_dh_auto_test. On a related note, methods of defining a package that contains (and should run) tests in other build/packaging systems: - Arch Linux PKGBUILDs define a bash function called "check" - RPM spec files define the "%check" directive - Gentoo ebuilds define a bash function called "src_test" - Guix does something very complicated in scheme, which seems to create buildsystem templates that know whether a package already contains a testsuite, possibly by e.g. checking packages that use Make to see if a check target is defined. -- Eli Schwartz Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature
_______________________________________________ [email protected] mailing list To change your subscription options, visit https://lists.reproducible-builds.org/listinfo/rb-general. To unsubscribe, send an email to [email protected].
