213 lines
3.4 KiB
HTML
213 lines
3.4 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of GTESTER</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>GTESTER</H1>
|
|
Section: User Commands (1)<BR>Updated: <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>
|
|
|
|
gtester - test running utility
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">
|
|
<B>gtester</B> [OPTION...] [testprogram]
|
|
</DL>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<B>gtester</B>
|
|
<DD>is a utility to run unit tests that have been written using the GLib test framework.
|
|
<P>
|
|
|
|
Since GLib 2.62,
|
|
<B>gtester-report</B>
|
|
is deprecated. Use TAP for reporting test results instead, and feed it to the test harness provided by your build system.
|
|
<P>
|
|
|
|
When called with the
|
|
<B>-o</B>
|
|
option,
|
|
<B>gtester</B>
|
|
writes an XML report of the test results, which can be converted into HTML using the
|
|
<B>gtester-report</B>
|
|
utility.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
<B>-h</B>, <B>--help</B>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
print help and exit
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-v</B>, <B>--version</B>
|
|
<DL COMPACT><DT id="3"><DD>
|
|
print version information and exit
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>--g-fatal-warnings</B>
|
|
<DL COMPACT><DT id="4"><DD>
|
|
make warnings fatal
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-k</B>, <B>--keep-going</B>
|
|
<DL COMPACT><DT id="5"><DD>
|
|
continue running after tests failed
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-l</B>
|
|
<DL COMPACT><DT id="6"><DD>
|
|
list paths of available test cases
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-m=</B><B></B><I>MODE</I>
|
|
<DL COMPACT><DT id="7"><DD>
|
|
run test cases in
|
|
<I>MODE</I>, which can be one of:
|
|
<P>
|
|
|
|
<B>perf</B>
|
|
<DL COMPACT><DT id="8"><DD>
|
|
run performance tests
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>slow</B>, <B>thorough</B>
|
|
<DL COMPACT><DT id="9"><DD>
|
|
run slow tests, or repeat non-deterministic tests more often
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>quick</B>
|
|
<DL COMPACT><DT id="10"><DD>
|
|
do not run slow or performance tests, or do extra repeats of non-deterministic tests (default)
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>undefined</B>
|
|
<DL COMPACT><DT id="11"><DD>
|
|
run test cases that deliberately provoke checks or assertion failures, if implemented (default)
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>no-undefined</B>
|
|
<DL COMPACT><DT id="12"><DD>
|
|
do not run test cases that deliberately provoke checks or assertion failures
|
|
</DL>
|
|
|
|
<P>
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-p=</B><B></B><I>TESTPATH</I>
|
|
<DL COMPACT><DT id="13"><DD>
|
|
only run test cases matching
|
|
<I>TESTPATH</I>
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-s=</B><B></B><I>TESTPATH</I>
|
|
<DL COMPACT><DT id="14"><DD>
|
|
skip test cases matching
|
|
<I>TESTPATH</I>
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>--seed=</B><B></B><I>SEEDSTRING</I>
|
|
<DL COMPACT><DT id="15"><DD>
|
|
run all test cases with random number seed
|
|
<I>SEEDSTRING</I>
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-o=</B><B></B><I>LOGFILE</I>
|
|
<DL COMPACT><DT id="16"><DD>
|
|
write the test log to
|
|
<I>LOGFILE</I>
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-q</B>, <B>--quiet</B>
|
|
<DL COMPACT><DT id="17"><DD>
|
|
suppress per test binary output
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>--verbose</B>
|
|
<DL COMPACT><DT id="18"><DD>
|
|
report success per testcase
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+gtester-report">gtester-report</A></B>(1)
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="19"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="20"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="21"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="22"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="23"><A HREF="#lbAF">SEE ALSO</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:16 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|