diff options
author | Matthew Horsfall (alh) <wolfsage@gmail.com> | 2015-04-19 06:52:46 -0400 |
---|---|---|
committer | Matthew Horsfall <wolfsage@gmail.com> | 2015-06-08 12:59:22 -0400 |
commit | 120bcf3c851ec91fb9adb04a6383a7c979ae074b (patch) | |
tree | 4071d6ec691c3461338de44903260b8fda3dbb3f /Porting | |
parent | fbaf67930c1f5f25ba2b8eaa8574ff86245a343e (diff) | |
download | perl-120bcf3c851ec91fb9adb04a6383a7c979ae074b.tar.gz |
Add notes about bisecting modules that need displays.
Thanks to Andreas for the examples.
Diffstat (limited to 'Porting')
-rwxr-xr-x | Porting/bisect-runner.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index 879ddb38e4..275f14ca71 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,... |