In perl.git, the branch alh/cpan-bisect has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/d9c3dbbd7cc7f3db3c1ad859a4e27e9f3adcbcc9?hp=ab8b8a17aa93b2f5e5d6d0ed8fe3ff281dead77d>

- Log -----------------------------------------------------------------
commit d9c3dbbd7cc7f3db3c1ad859a4e27e9f3adcbcc9
Author: Matthew Horsfall (alh) <[email protected]>
Date:   Sun Apr 19 06:52:46 2015 -0400

    Add notes about bisecting modules that need displays.
    
    Thanks to Andreas for the examples.
-----------------------------------------------------------------------

Summary of changes:
 Porting/bisect-runner.pl | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl
index 879ddb3..275f14c 100755
--- a/Porting/bisect-runner.pl
+++ b/Porting/bisect-runner.pl
@@ -564,6 +564,22 @@ be started up for you so you can configure one. Feel free 
to let
 CPAN pick defaults for you. Enter 'quit' when you are done, and
 then everything should be all set.
 
+Also, if you want to bisect a module that needs a display (like
+TK) and you don't want random screens appearing and disappearing
+on your computer while you're working, you can do something like
+this:
+
+In a terminal:
+
+  $ while true; do date ; if ! ps auxww | grep -v grep | grep -q Xvfb;\
+    then Xvfb :121 & fi; echo -n 'sleeping 60 '; sleep 60; done
+
+And then:
+
+  DISPLAY=":121" .../Porting/bisect.pl --module=TK
+
+(Some display alternatives are vncserver and Xnest.)
+
 =item *
 
 --with-module module1,module2,...

--
Perl5 Master Repository

Reply via email to