pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc/guide/files doc/guide: document regress_fail for r...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1dafecfe4998
branches: trunk
changeset: 407937:1dafecfe4998
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jan 11 11:48:59 2020 +0000
description:
doc/guide: document regress_fail for regression tests
diffstat:
doc/guide/files/regression.xml | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 59bc03fc0e02 -r 1dafecfe4998 doc/guide/files/regression.xml
--- a/doc/guide/files/regression.xml Sat Jan 11 11:44:35 2020 +0000
+++ b/doc/guide/files/regression.xml Sat Jan 11 11:48:59 2020 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: regression.xml,v 1.6 2020/01/11 11:35:50 rillig Exp $ -->
+<!-- $NetBSD: regression.xml,v 1.7 2020/01/11 11:48:59 rillig Exp $ -->
<chapter id="regression"> <?dbhtml filename="regression.html"?>
<title>Regression tests</title>
@@ -100,6 +100,11 @@
<variablelist>
+ <varlistentry>
+ <term><varname>regress_fail <replaceable>message...</replaceable></varname></term>
+ <listitem><para>This function makes the test fail with the given error message.</para></listitem>
+ </varlistentry>
+
<varlistentry><term><varname>exit_status expected</varname></term>
<listitem><para>This function compares the exitcode of the
<command>do_test</command> function with its first parameter.
Home |
Main Index |
Thread Index |
Old Index