Commit Graph

52 Commits

Author SHA1 Message Date
Jerome Kieffer ec876bac9e Use python3 by default for development as well! 2018-12-18 10:48:37 +01:00
Jerome Kieffer d1a6b12bbe fix the test coverage part in order to release v0.16 2018-10-05 14:54:13 +02:00
Jerome Kieffer 2a4f01a79d
Merge branch 'master' into cleanup 2018-07-03 18:07:00 +02:00
Valentin Valls cabf2a2557
[tests] Capture all default warnings 2018-07-03 07:38:50 +00:00
Jerome Kieffer a3a3198eca Display deprecation warnings when running the test in verbose mode 2018-07-03 09:24:26 +02:00
Valentin Valls 4b5617c711 Synchronize run_tests.py with silx 2018-03-06 11:58:06 +01:00
Valentin Valls 08e0aecd3c Display uncovered files when using run_tests --coverage 2018-02-20 16:13:09 +01:00
Jerome Kieffer ba4b652244 test-coverage function update 2018-01-30 16:32:13 +01:00
Valentin Valls 014046beaa Bump copyright year 2018-01-30 11:16:29 +01:00
Valentin Valls 8cfad55ae6 Clean up script_path 2018-01-26 09:22:29 +01:00
Valentin Valls 6496ecb57c Clean up utilstest initialization 2018-01-11 10:54:54 +01:00
Valentin Valls 30ddd95a18 Use run_tests behaviour from silx
- Testing the source project is now the default behaviour (instead of testing the system package)
- --installed was introduced to test the system package
- -i --insource was removed (it is now the default behaviour without args)
2018-01-09 15:13:51 +01:00
Valentin Valls 40d63c33ba Rework third_party as la silx
- Rework six and argparse imports
2018-01-09 15:13:51 +01:00
Jerome Kieffer b9db004c9a update coverage 2017-09-14 09:26:02 +02:00
Valentin Valls c40c07854c Skip OpenCL tests if requested
- Can be done by run_tests.py --no-opencl
- Or using envvar PYFAI_OPENCL=False
2017-09-06 17:20:02 +02:00
Valentin Valls 30946bd3bb Typo 2017-09-06 15:31:37 +02:00
Valentin Valls 3f5bf5cb42 Typo 2017-09-05 14:05:42 +02:00
Valentin Valls 731ceff2d7 Use the same logging initialization than silx
- Else the default format is not properly set
2017-09-05 14:05:42 +02:00
Valentin Valls 847e7c3152 Typo 2017-09-05 14:05:42 +02:00
Valentin Valls 482636d1dc Une the same logging behaviour as silx
- Option -v displays buffers in info
- Option -vv displays buffers in debug mode
- Remove option -n
2017-09-05 14:05:42 +02:00
Valentin Valls f2f5dfc9d1 Remove useless code
- It is already done by the build target
2017-09-05 14:05:42 +02:00
Jerome Kieffer 15dd5d8123 add an option to skip memory hungry tests
close #652
2017-08-25 15:39:10 +02:00
Valentin Valls df4ae8c66f Fix back stdout buffer on unittests 2017-05-18 18:50:20 +02:00
Jerome Kieffer 17b4d5a645 Found issue in run_test with profiling enabled 2016-12-01 18:14:53 +01:00
Valentin Valls 921858c0cd Convcert documentation from @tag into :tag (close #464) 2016-11-25 13:55:10 +01:00
Jerome Kieffer 323abaa647 restore the silence of the tests. 2016-10-28 08:42:53 +02:00
Jerome Kieffer cc0c116033 remove future deprecation warning 2016-10-27 16:07:08 +02:00
Valentin Valls 9fd8de6b22 Fix loggers to use var args and not '%' operator 2016-08-04 11:00:16 +02:00
Valentin Valls 5561fcf0e5 Use inherited SteamHandler emit method
- Fix logger which use var args and not the '%' operator
2016-08-04 10:54:41 +02:00
Valentin Valls dc16a2e738 Redirect unittest loggers to display it as test output (close #296) 2016-06-30 16:18:58 +02:00
Valentin Valls 684394d0df Move pyFAI resources into pyFAI/resources (close #315) 2016-06-30 16:18:58 +02:00
Valentin Valls be03694a85 Move third_party package inside pyFAI directory (close #292) 2016-06-30 16:12:26 +02:00
Valentin Valls 9632fa7418 Read all_testimages.json from testimages directory (improve #283) 2016-06-09 09:55:33 +02:00
Valentin Valls 819d4f434b Avoid to generate profile.log default tests (improve #283) 2016-06-08 16:11:30 +02:00
Jerome Kieffer 20489cb82c print sources of numpy/scipy 2016-05-26 12:09:11 +02:00
Jerome Kieffer 0f95307b2b work on the release side 2016-04-11 17:41:02 +02:00
Jerome Kieffer 106a8556c0 fix run_test with coverage 2016-04-11 13:56:41 +02:00
Jerome Kieffer cd41d6f583 fix tests when not installed. 2016-03-14 17:15:10 +01:00
Jerome Kieffer bc3569770b fix test runner under 2.6 2016-03-14 16:33:07 +01:00
Jerome Kieffer c366bcbabe copy data files for in-source test 2016-03-08 12:02:24 +01:00
Jerome Kieffer 7de9a97c5c Simplify the utilstest submodule, similar to fabio
Related to #248:
2016-03-08 10:35:48 +01:00
Jerome Kieffer e71c382319 bug on windows 2016-02-03 20:48:18 +01:00
Jerome Kieffer d8b5752154 fix test runner for travis 2016-02-03 18:04:14 +01:00
Jerome Kieffer 179cd2c4fd fix tests-runner for #248
tests are still broken
2016-02-02 20:32:28 +01:00
Jerome Kieffer 4c722b9fdf fix tests under windows. 2016-01-12 18:53:17 +01:00
Jerome Kieffer b3422c61aa memory profiling for 2.6: issue on Travis probably related to large
memory occupation
2016-01-07 17:52:17 +01:00
Jerome Kieffer 5d99fa082b adapted from FabIO 2015-11-03 18:15:31 +01:00
Jerome Kieffer 7128288c58 typo 2015-08-25 11:08:23 +02:00
Jerome Kieffer 04ecffd9ff why is h5py missing on Travis ? 2015-08-25 11:07:30 +02:00
Jerome Kieffer c5ba34153e debugging Travis-CI 2015-08-25 09:08:17 +02:00