r55892 - /website/debhelper.pod

jozef-guest at users.alioth.debian.org jozef-guest at users.alioth.debian.org
Sat Apr 10 16:14:02 UTC 2010


Author: jozef-guest
Date: Sat Apr 10 16:11:56 2010
New Revision: 55892

URL: http://svn.debian.org/wsvn/?sc=1&rev=55892
Log:
added instructions how to use xvfb-run for tests

Modified:
    website/debhelper.pod

Modified: website/debhelper.pod
URL: http://svn.debian.org/wsvn/website/debhelper.pod?rev=55892&op=diff
==============================================================================
--- website/debhelper.pod (original)
+++ website/debhelper.pod Sat Apr 10 16:11:56 2010
@@ -38,6 +38,18 @@
 
 <pre>override_dh_auto_test:
 &#09;TEST_AUTHOR=1 dh_auto_test
+</pre>
+
+=end html
+
+Sometimes tests need X server in order to run. In this case the C<xvfb> and
+the C<xauth> packages should be declared as C<Build-Depends>. debhelper overrides
+should be:
+
+=begin html
+
+<pre>override_dh_auto_test:
+&#09;xvfb-run -a dh_auto_test
 </pre>
 
 =end html




More information about the Pkg-perl-cvs-commits mailing list