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 639948 - Make runtests.py able to run command-line provided test files
Make runtests.py able to run command-line provided test files
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-19 14:08 UTC by Steve Frécinaux
Modified: 2011-02-09 17:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make runtests.py able to run command-line provided test files (1.33 KB, patch)
2011-01-19 14:08 UTC, Steve Frécinaux
committed Details | Review

Description Steve Frécinaux 2011-01-19 14:08:31 UTC
This is more friendly to run specific files when you are actually hacking
tests, because defining an env var is annoying, and the test suite is huge.
Also, the script has been chmodded +x, so one doesn't have to write 'python'
Comment 1 Steve Frécinaux 2011-01-19 14:08:34 UTC
Created attachment 178725 [details] [review]
Make runtests.py able to run command-line provided test files

With this patch we are now able to run ./runtests.py <somefile>, which
is more friendly than defining an environment variable to run some
specific tests.
Comment 2 Tomeu Vizoso 2011-01-20 09:32:49 UTC
Comment on attachment 178725 [details] [review]
Make runtests.py able to run command-line provided test files

Thanks!
Comment 3 Steve Frécinaux 2011-02-09 17:44:18 UTC
Attachment 178725 [details] pushed as 3cca62a - Make runtests.py able to run command-line provided test files