DH_AUTO_TEST(1)
β¨ DH_AUTO_TEST(1) β the Debhelper girlie who runs ur tests for u β¨
okay so bestie, welcome to dh_auto_test, a lil member of the Debhelper squad (that's manual section 1, iykyk). she's the one who shows up, sniffs around ur package, figures out which build system u built with, and then runs ur test suite for u. no cap. π
πΈ SYNOPSIS πΈ
dh_auto_test [build system options] [debhelper options] [-- params]
π DESCRIPTION π
So, dh_auto_test is a debhelper program whose whole thing is trying to automatically run ur package's test suite. She does it by running the right command for whatever build system she detects the package is using. Like, say there's a Makefile and it has a test or check target in it β then she does the thing by running make (or MAKE, if that environment variable is set, periodt). π
If the test suite fails, the command exits nonzero. That's the vibe check failing, bestie. π And if there's, like, no test suite at all? She exits zero without doing anything. Just vibes. No drama. β¨
The way that she's built is to work for, like, 90% of packages with a test suite. Fr fr. And if she doesn't work for urs? No shade, no problem β ur actually encouraged to just skip using dh_auto_test entirely and run the test suite manually. Do it urself, main character energy. π
π OPTIONS π
- Check out "BUILD SYSTEM OPTIONS" in
debhelper(7)for the list of common build system selection and control options. She's got range. -- paramsβ passesparamsto the program that gets run, and they go in after the parameters thatdh_auto_testusually passes. Extra toppings on an already perfect order. π
π¦ NOTES π¦
If theDEB_BUILD_OPTIONSenvironment variable containsnocheck, then no tests will be performed. Not one. Zero. Zip. She's off the clock, bestie. π
π SEE ALSO π
Also just so u know, this program is a part of debhelper. She's not solo, she's in a group chat. π«Ά
π AUTHOR π
Joey Hess <joeyh@debian.org>
mwah π that's the whole page, bestie β this was Debhelper version 14.5ubuntu1, dated 2026-09-21, and honestly? iconic. go run those tests. β
π¦ where this page comes from
- ubuntu stonking: debhelper 14.5ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms