diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-06-29 19:45:41 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-17 10:35:23 +0100 |
commit | 09590ac76a19ee1b1b4a9188f7fce5029f0de52a (patch) | |
tree | 3db70958e7e61640c6a810ada19fbfad2029510f /meta/lib/oeqa/buildperf/__init__.py | |
parent | 249d99cd7ec00b3227c194eb4b9b21ea4dcb7315 (diff) | |
download | openembedded-core-contrib-09590ac76a19ee1b1b4a9188f7fce5029f0de52a.tar.gz |
oeqa.buildperf: introduce runCmd2()
Special runCmd() for build perf tests which doesn't raise an
AssertionError when the command fails. This causes command failures to
be detected as test errors instead of test failures. This way "failed"
state of tests is reserved for future making it possible to set e.g.
thresholds for certain measurement results.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/buildperf/__init__.py')
-rw-r--r-- | meta/lib/oeqa/buildperf/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/buildperf/__init__.py b/meta/lib/oeqa/buildperf/__init__.py index 85abf3a25e..605f429ecc 100644 --- a/meta/lib/oeqa/buildperf/__init__.py +++ b/meta/lib/oeqa/buildperf/__init__.py @@ -14,5 +14,6 @@ from .base import (BuildPerfTestCase, BuildPerfTestLoader, BuildPerfTestResult, BuildPerfTestRunner, - KernelDropCaches) + KernelDropCaches, + runCmd2) from .test_basic import * |