Commit graph

22 commits

Author SHA1 Message Date
Laurent Bachelier
9ccc3eb338 Get absolute path without readlink
Because of BSD.
2013-08-12 15:32:09 +02:00
Laurent Bachelier
230e9bba59 run_tests: Force copied name to be "backends"
It would cause issues if we had a different filename for WEBOOB_BACKENDS.
2013-08-03 13:31:03 +02:00
Laurent Bachelier
c58fdf786c Remove stale .pyc files before tests and local run
This should make running tests faster, as we do not remove all .pyc
files anymore!
2013-04-10 17:40:22 +02:00
Laurent Bachelier
83596b3d2a Support more distros / prefer 2.7 2013-03-25 11:10:38 +01:00
Laurent Bachelier
e7c8e8c772 tests: Use the guessed nosetests for the core tests too 2012-11-11 05:20:30 +01:00
Laurent Bachelier
73443ebe31 tests: Guess the right builder name
when run by buildslaves
2012-11-11 05:17:11 +01:00
Laurent Bachelier
da655d84d1 tests: Better way of handling non-module tests
Some were not caught, and they were ran even for a single-module test.
Also, don't include them in the report.
2012-11-10 18:18:32 +01:00
Laurent Bachelier
c9683e08ae tests: Save and submit test results
There is no processing of the reports for now,
but the submit part is done.
2012-11-10 18:18:31 +01:00
Laurent Bachelier
d638ea2f65 No need for nosetests path adjustments 2012-04-27 14:33:15 +02:00
Laurent Bachelier
36db83d74e tests: Allow overriding executables, and try to be smart
Get the explicit Python 2 version if there is one.

fixes #842
2012-04-10 07:43:07 +02:00
Laurent Bachelier
3a68fc615b Remove *.pyc before running tests 2012-03-14 23:53:14 +01:00
Laurent Bachelier
1ec64d0897 Force weboob-update to use the local weboob 2012-02-28 14:20:03 +01:00
Laurent Bachelier
30e3aa2038 Use the WEBOOB_BACKENDS variable if it exists 2012-02-12 21:46:52 +01:00
Laurent Bachelier
f3d962b19a Retrieve the keyring, and check its updates are valid 2012-01-30 01:20:57 +01:00
Laurent Bachelier
9686ef6d8d Tests should work with any POSIX shell
Tested with dash & bash.
2012-01-28 00:02:24 +01:00
Laurent Bachelier
129bb7233e Make tests work with the new XDG dirs
Also minor improvements on style.
2012-01-27 23:54:14 +01:00
Laurent Bachelier
e55eb078f5 Return the proper status 2012-01-18 11:38:06 +01:00
Laurent Bachelier
f8af34cc64 Fix typo, and missing weboob-config update command 2012-01-18 01:01:00 +01:00
Laurent Bachelier
eef7a71759 Run tests with only the source modules
It will use a temporary directory.
It reads the WEBOOB_WORKDIR variable if you want a different backends
file.
It sets sources.list by itself.
The temporary directory is removed if possible.
It is still possible to test only one backend.
2012-01-17 19:43:51 +01:00
Romain Bignon
abb24b9954 several fixes to run successfully tests 2012-01-17 17:46:13 +01:00
Romain Bignon
876d05ffa6 when there is a param, load test only for this backend 2010-08-30 16:59:52 +02:00
Romain Bignon
3b89982340 script to correctly launch nose tests 2010-08-13 21:34:54 +02:00