]> code.ossystems Code Review - openembedded-core.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>
Sat, 3 Sep 2016 08:58:29 +0000 (09:58 +0100)
commit69b3c63e32d09ea4a41b21daacdff6bf1fc447c1
treea744b1d9cfd216fcc4eee561b89e795da16b2f78
parent3efbd49fd80d2b349a8fd44dbcd509168dbc1061
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