diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-08-29 22:48:24 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 09:58:30 +0100 |
commit | 64ff34df96aa9a74dd4303f76ec711aa5e9d5030 (patch) | |
tree | 8f1c997e3426ca4a78602035bb7d752b1d463fbf | |
parent | 95138cdc70bb7f9b7ab74e1d83305f009790dccc (diff) | |
download | openembedded-core-64ff34df96aa9a74dd4303f76ec711aa5e9d5030.tar.gz openembedded-core-64ff34df96aa9a74dd4303f76ec711aa5e9d5030.tar.bz2 openembedded-core-64ff34df96aa9a74dd4303f76ec711aa5e9d5030.zip |
oeqa.buildperf: separate output dir for each test
Store the output data of each test in an individual subdirectory instead
of storing everything in the root output directory.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/buildperf/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py index 4918e793a1..64c1a44733 100644 --- a/meta/lib/oeqa/buildperf/base.py +++ b/meta/lib/oeqa/buildperf/base.py @@ -146,7 +146,8 @@ class BuildPerfTestResult(unittest.TextTestResult): def startTest(self, test): """Pre-test hook""" - test.out_dir = self.out_dir + test.out_dir = os.path.join(self.out_dir, test.name) + os.mkdir(test.out_dir) log.info("Executing test %s: %s", test.name, test.shortDescription()) self.stream.write(datetime.now().strftime("[%Y-%m-%d %H:%M:%S] ")) super(BuildPerfTestResult, self).startTest(test) |