[LDTP-Dev] [Bug 349114] Integrate LDTP tests into jhbuild

jhbuild (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Jul 29 09:28:22 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=349114
 jhbuild | general | Ver: unspecified





------- Comment #4 from Frederic Peters  2006-07-29 16:28 UTC -------
More comments:

 - Xvfb, Debian has a xvfb-run script to start Xvfb, execute a command in it
   and close Xvfb, perhaps it would be best to get an helper script of that
sort
   instead of doing all the work inside testmodule.py ?

 - display :1 is hardcoded while in many places it will already be used
   (xvfb-run dynamically looks for an available display)

 - a new Xvfb session doesn't allow for external connections (at least in
Debian
   default configuration), needs to play with xauth (xvfb-run does this).

   Alternative is to set XAUTHORITY like this, before self._start_xvfb

     os.environ['XAUTHORITY'] = '/tmp/jhbuild.xauthority'
     os.system('xauth add "%s" "." "%s"' % (display, random.random()))

 - it may be necessary to reset LANG/LC_ALL/etc. to C for test scripts to run
   properly

  - in do_dogtail_test, e.returnvalue should be e.returncode.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the LDTP-dev mailing list