97 lines
2.7 KiB
HTML
97 lines
2.7 KiB
HTML
|
||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<HTML><HEAD><TITLE>Man page of DH_AUTO_TEST</TITLE>
|
||
</HEAD><BODY>
|
||
<H1>DH_AUTO_TEST</H1>
|
||
Section: Debhelper (1)<BR>Updated: 2020-03-27<BR><A HREF="#index">Index</A>
|
||
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<A NAME="lbAB"> </A>
|
||
<H2>NAME</H2>
|
||
|
||
dh_auto_test - automatically runs a package's test suites
|
||
<A NAME="lbAC"> </A>
|
||
<H2>SYNOPSIS</H2>
|
||
|
||
|
||
|
||
<B>dh_auto_test</B> [<I>build system options</I>] [<I>debhelper options</I>] [<B>--</B> <I>params</I>]
|
||
<A NAME="lbAD"> </A>
|
||
<H2>DESCRIPTION</H2>
|
||
|
||
|
||
|
||
<B>dh_auto_test</B> is a debhelper program that tries to automatically run a
|
||
package's test suite. It does so by running the appropriate command for the
|
||
build system it detects the package uses. For example, if there's a
|
||
Makefile and it contains a <B>test</B> or <B>check</B> target, then this is done by
|
||
running <B>make</B> (or <B></B><FONT SIZE="-1"><B>MAKE</B></FONT><B></B>, if the environment variable is set). If the test
|
||
suite fails, the command will exit nonzero. If there's no test suite, it
|
||
will exit zero without doing anything.
|
||
<P>
|
||
|
||
This is intended to work for about 90% of packages with a test suite. If it
|
||
doesn't work, you're encouraged to skip using <B>dh_auto_test</B> at all, and
|
||
just run the test suite manually.
|
||
<A NAME="lbAE"> </A>
|
||
<H2>OPTIONS</H2>
|
||
|
||
|
||
|
||
See "<B></B><FONT SIZE="-1"><B>BUILD SYSTEM OPTIONS</B></FONT><B></B>" in <B><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></B>(7) for a list of common build
|
||
system selection and control options.
|
||
<DL COMPACT>
|
||
<DT id="1"><B>--</B> <I>params</I><DD>
|
||
|
||
|
||
Pass <I>params</I> to the program that is run, after the parameters that
|
||
<B>dh_auto_test</B> usually passes.
|
||
</DL>
|
||
<A NAME="lbAF"> </A>
|
||
<H2>NOTES</H2>
|
||
|
||
|
||
|
||
If the <B></B><FONT SIZE="-1"><B>DEB_BUILD_OPTIONS</B></FONT><B></B> environment variable contains <B>nocheck</B>, no
|
||
tests will be performed.
|
||
<A NAME="lbAG"> </A>
|
||
<H2>SEE ALSO</H2>
|
||
|
||
|
||
|
||
<B><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></B>(7)
|
||
<P>
|
||
|
||
This program is a part of debhelper.
|
||
<A NAME="lbAH"> </A>
|
||
<H2>AUTHOR</H2>
|
||
|
||
|
||
|
||
Joey Hess <<A HREF="mailto:joeyh@debian.org">joeyh@debian.org</A>>
|
||
<P>
|
||
|
||
<HR>
|
||
<A NAME="index"> </A><H2>Index</H2>
|
||
<DL>
|
||
<DT id="2"><A HREF="#lbAB">NAME</A><DD>
|
||
<DT id="3"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
||
<DT id="4"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
||
<DT id="5"><A HREF="#lbAE">OPTIONS</A><DD>
|
||
<DT id="6"><A HREF="#lbAF">NOTES</A><DD>
|
||
<DT id="7"><A HREF="#lbAG">SEE ALSO</A><DD>
|
||
<DT id="8"><A HREF="#lbAH">AUTHOR</A><DD>
|
||
</DL>
|
||
<HR>
|
||
This document was created by
|
||
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
||
using the manual pages.<BR>
|
||
Time: 00:05:10 GMT, March 31, 2021
|
||
</BODY>
|
||
</HTML>
|