1DH_AUTO_TEST(1)                    Debhelper                   DH_AUTO_TEST(1)
2
3
4

NAME

6       dh_auto_test - automatically runs a package's test suites
7

SYNOPSIS

9       dh_auto_test [build system options] [debhelper options] [-- params]
10

DESCRIPTION

12       dh_auto_test is a debhelper program that tries to automatically run a
13       package's test suite. It does so by running the appropriate command for
14       the build system it detects the package uses. For example, if there's a
15       Makefile and it contains a test or check target, then this is done by
16       running make (or MAKE, if the environment variable is set). If the test
17       suite fails, the command will exit nonzero. If there's no test suite,
18       it will exit zero without doing anything.
19
20       This is intended to work for about 90% of packages with a test suite.
21       If it doesn't work, you're encouraged to skip using dh_auto_test at
22       all, and just run the test suite manually.
23

OPTIONS

25       See "BUILD SYSTEM OPTIONS" in debhelper(7) for a list of common build
26       system selection and control options.
27
28       -- params
29           Pass params to the program that is run, after the parameters that
30           dh_auto_test usually passes.
31

NOTES

33       If the DEB_BUILD_OPTIONS environment variable contains nocheck, no
34       tests will be performed.
35

SEE ALSO

37       debhelper(7)
38
39       This program is a part of debhelper.
40

AUTHOR

42       Joey Hess <joeyh@debian.org>
43
44
45
4612.7.3                            2020-01-28                   DH_AUTO_TEST(1)
Impressum