oe-build-perf-test: use Python unittest framework
v2 cover oe-build-perf-test: use Python unittest framework
Patch #8, i.e. the patch suppressing logger output was too aggressive in v1 of this patchset. We want to get most of the logger output to stderr, after all. In v2 the logger output to stderr is only disabled during the time the tests are being run.
Other patches are not changed (except for rebase on top of the latest master).
The following changes since commit a92c196449c516fe51786d429078bbb1213bb029:
Allow for simultaneous do_rootfs tasks with rpm (2016-08-11 13:36:06 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib marquiz/buildperf/unittest
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/buildperf/unittest
Markus Lehtonen (9):
oeqa.buildperf: rename module containing basic tests oeqa.buildperf: derive BuildPerfTestCase class from unitest.TestCase oeqa.buildperf: add BuildPerfTestLoader class oeqa.buildperf: add BuildPerfTestResult class oeqa.buildperf: convert test cases to unittest
oe-build-perf-test: use new unittest based framework oeqa.buildperf: introduce runCmd2()
oe-build-perf-test: suppress logger output when tests are being run oeqa.buildperf: be more verbose about failed commands
meta/lib/oeqa/buildperf/__init__.py | 10 +- meta/lib/oeqa/buildperf/base.py | 245 +++++++++++++++++---------------- meta/lib/oeqa/buildperf/basic_tests.py | 133 ------------------ meta/lib/oeqa/buildperf/test_basic.py | 121 ++++++++++++++++ scripts/oe-build-perf-test | 65 ++++++--- 5 files changed, 307 insertions(+), 267 deletions(-) delete mode 100644 meta/lib/oeqa/buildperf/basic_tests.py create mode 100644 meta/lib/oeqa/buildperf/test_basic.py
Signature · 1 line
2.6.6