After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 308352 - run ldtp tests in jhbuild
run ldtp tests in jhbuild
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: James Henstridge
Jhbuild QA
Depends on: 308328 349114
Blocks:
 
 
Reported: 2005-06-20 03:16 UTC by Luis Villa
Modified: 2007-04-14 17:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luis Villa 2005-06-20 03:16:40 UTC
This is sort of a discussion/tracking bug.

I'd like to run ldtp tests as part of jhbuild for those modules which have
jhbuild tests. My current thinking is to add something like
'has_jhbuild_test='1'' to each module's XML.

If the module has the flag set and an appropriate flag has been passed to
jhbuild indicating that we want to run the tests:
* make sure ldtp/gnome-session/gnome-control-center were built, and vnc is installed
* download the appropriate test from novell forge[1]:
http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldtp/pyautosuite/gedit/
for example
* run it in vnc [optionally: pipe vnc to swf as well]
* cat the log to the screen and/or tinderbox.

Alternatives:
* build ldtp into make check. This seems like a big dependency and sort of
grody, and I'm guessing some devs would scream, but I'm open to the suggestion
if someone else can show how to do the work. :)
* ?

Current blockers (besides bugs in b.g.o marked as blockers):
* can't checkout from novell forge non-interactively:
http://forge.novell.com/pipermail/ldtp-dev/2005-June/000365.html
* many tests require creation of a file:
http://forge.novell.com/pipermail/ldtp-dev/2005-June/000354.html
* for tinderbox, it is hard to tell if a test passed or failed because the logs
are difficult to parse:
http://forge.novell.com/pipermail/ldtp-dev/2005-June/000361.html

[1] for now; once this is successful I'd hope folks will just include the tests
in the module themselves.
Comment 1 Frederic Peters 2007-04-14 17:09:51 UTC
I merged last changes to Prashanth Mohan patch and commited this to subversion.

2007-04-14  Frederic Peters  <fpeters@0d.be>

        * jhbuild/commands/base.py, jhbuild/frontends/autobuild.py,
        jhbuild/frontends/terminal.py, jhbuild/frontends/tinderbox.py,
        jhbuild/moduleset.py, jhbuild/main.py, jhbuild/config.py,
        jhbuild/defaults.jhbuildrc, modulesets/gnome-2.14.modules,
        modulesets/gnome-2.14-test.modules: integrate LDTP and Dogtail
        tests, most of the work done by Prashanth Mohan during Google
        SoC 2006.  (Closes: #308352 and #349114)