]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa.buildperf: make tests independent
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 26 Aug 2016 07:33:09 +0000 (10:33 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Sep 2016 16:42:53 +0000 (17:42 +0100)
commit38768b43f235c3c518a1ef5699145be49d0d5350
treeeeefb891766ed182794e33f1f304d0cdaddb8299
parentc25b180c11a2e77bf21e4dedacb55abdeb077cfb
oeqa.buildperf: make tests independent

Add test set-up functionality so that the individual tests do not depend
on each other. This should make sure that a failure in one test does not
affect the results of another test. The patch also makes it reasonable
to run only a subset of the tests by using the --run-tests option.

The increase in total execution time of the full suite - caused by the
additional set-up steps - is insignificant because normally no
additional tasks need to be run. The previous test has already done all
set-up work.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/buildperf/base.py
meta/lib/oeqa/buildperf/test_basic.py