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 722423 - Add behave to allow apps running BDD tests in python
Add behave to allow apps running BDD tests in python
Status: RESOLVED FIXED
Product: gnome-continuous
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Continuous maintainer(s)
GNOME Continuous maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-01-17 15:09 UTC by Vadim Rutkovsky
Modified: 2014-03-14 22:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (1.97 KB, patch)
2014-01-17 15:09 UTC, Vadim Rutkovsky
committed Details | Review
Buildsys patch (1.53 KB, patch)
2014-03-03 11:39 UTC, Vadim Rutkovsky
none Details | Review
Add behave to manifest and its dependencies (6.84 KB, patch)
2014-03-14 13:49 UTC, Vadim Rutkovsky
accepted-commit_now Details | Review

Description Vadim Rutkovsky 2014-01-17 15:09:49 UTC
Created attachment 266552 [details] [review]
Patch

Behave is a testing framework allowing to execute python code based on simple BDD-style scenarios. This might be useful to write UI tests using dogtail
Comment 1 Colin Walters 2014-02-27 18:15:51 UTC
Review of attachment 266552 [details] [review]:

Ok, if there's going to be an investment in tests using this.
Comment 2 Colin Walters 2014-02-27 18:16:31 UTC
BTW, this should probably go in the jhbuild moduleset too, so people can use it there.
Comment 3 Colin Walters 2014-02-27 18:35:49 UTC
This caused a build failure:

http://build.gnome.org/continuous/buildmaster/builds/2014/02/27/66/build/log-behave.txt

ob: running: ../configure --build=x86_64-linux --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --localstatedir=/var --bindir=/usr/bin --sbindir=/usr/bin --datadir=/usr/share --includedir=/usr/include --libexecdir=/usr/libexec --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-silent-rules
python: can't open file 'setup.py': [Errno 2] No such file or directory

I bet it's a srcdir != builddir issue.  We need to add:

#buildapi-variable-no-builddir

to the configure script.

For now I have reverted the patch.
Comment 4 Vadim Rutkovsky 2014-03-03 11:39:43 UTC
Created attachment 270773 [details] [review]
Buildsys patch
Comment 5 Vadim Rutkovsky 2014-03-14 13:49:12 UTC
Created attachment 271895 [details] [review]
Add behave to manifest and its dependencies

A much better patch to install behave and dependency (parse). Tested on my local gnome-continuous instance
Comment 6 Colin Walters 2014-03-14 20:51:01 UTC
Review of attachment 271895 [details] [review]:

Ok, thanks for testing with a local build!