summaryrefslogtreecommitdiffstats
path: root/doc/developer-guidelines.sgml
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-01-31 10:06:10 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2006-01-31 10:06:10 +0000
commit2af43f33a3584b9602c4a906ed4db94b4ca33ccf (patch)
tree201b95ba4e08744369b03203c677ba7fdb0e5c6f /doc/developer-guidelines.sgml
parent28bd24d61dc3b0b94b58081b35d1a22d7930fa45 (diff)
downloadmonitoring-plugins-2af43f33a3584b9602c4a906ed4db94b4ca33ccf.tar.gz
Updated instructions on using libtap as configure option changed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1306 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'doc/developer-guidelines.sgml')
-rw-r--r--doc/developer-guidelines.sgml20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml
index 82dbecaa..a7555e91 100644
--- a/doc/developer-guidelines.sgml
+++ b/doc/developer-guidelines.sgml
@@ -294,7 +294,7 @@
294 294
295 <section><title>Translations</title> 295 <section><title>Translations</title>
296 <para>If possible, use translation tools for all output to respect the user's language 296 <para>If possible, use translation tools for all output to respect the user's language
297 settings. See <xref linkend="translations_developers"> for guidelines 297 settings. See <xref linkend="translationsdevelopers"> for guidelines
298 for the core plugins. 298 for the core plugins.
299 </para> 299 </para>
300 </section> 300 </section>
@@ -616,22 +616,22 @@ link</ulink>
616 616
617<section><title>Testing the C library functions</title> 617<section><title>Testing the C library functions</title>
618<para> 618<para>
619Uses <ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap">the libtap library</ulink>, which gives 619We use <ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap">the libtap library</ulink>, which gives
620perl's TAP 620perl's TAP
621(Test Anything Protocol) output. This is used by the FreeBSD team for their regression testing. 621(Test Anything Protocol) output. This is used by the FreeBSD team for their regression testing.
622</para> 622</para>
623 623
624<para> 624<para>
625To run tests using the libtap library, download from http://people.freebsd.org/~nik/public_distfiles/ 625To run tests using the libtap library, download the latest tar ball and extract.
626and compile. There is a problem with tap-1.01 626There is a problem with tap-1.01 where
627where <ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/ticket/25">pthread support doesn't appear to work</ulink> 627<ulink url="http://jc.ngo.org.uk/trac-bin/trac.cgi/ticket/25">pthread support doesn't appear to work</ulink>
628properly on non-FreeBSD systems. Compile with 'CPPFLAGS="-UHAVE_LIBPTHREAD" ./configure'. You do not need 628properly on non-FreeBSD systems. Compile with 'CPPFLAGS="-UHAVE_LIBPTHREAD" ./configure && make && make check'.
629to install. 629You do not need to install.
630</para> 630</para>
631 631
632<para> 632<para>
633You then have to run the Nagios Plugins' configure with the --with-libtap-object=full_path to the compiled 633You then have to run the Nagios Plugins' configure with the --with-libtap-srcdir=path, where path is the
634tap.o file. 634full path to the tap.h and compiled tap.o file.
635Then run "make" and "make test" to run all tests. 635Then run "make" and "make test" to run all tests.
636</para> 636</para>
637</section> 637</section>
@@ -671,7 +671,7 @@ Then run "make" and "make test" to run all tests.
671update the THANKS.in file.</para> 671update the THANKS.in file.</para>
672 </section> 672 </section>
673 673
674 <section id="translations_developers"><title>Translations for developers</title> 674 <section id="translationsdevelopers"><title>Translations for developers</title>
675 <para>To make the job easier for translators, please follow these guidelines:</para> 675 <para>To make the job easier for translators, please follow these guidelines:</para>
676 <orderedlist> 676 <orderedlist>
677 <listitem><para> 677 <listitem><para>