diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-02 16:34:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-04 22:57:32 +0100 |
commit | 00faa62c4c4a02f6718b36e2fcaf3e1fad5dd0b9 (patch) | |
tree | d9472769fb752aac1ff6c16e55430a63aefde09f /scripts/lib/resulttool/store.py | |
parent | 803d404bdf69cfcd8ab418a0e3e8709ed0f66911 (diff) | |
download | poky-00faa62c4c4a02f6718b36e2fcaf3e1fad5dd0b9.tar.gz |
resulttool: Allow extraction of ptest data
Rather than simply discarding the ptest data, change the code to discard
it when writing out the new testresult files, or optionally either preserve
it, or write it as seperate discrete logs.
This means the autobuilder should start writing out individual ptest log
files as well as allowing ueers to extract these manually.
(From OE-Core rev: a1e0944bf260ef50dd7dfcb10db248fdd7f45bc9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/resulttool/store.py')
-rw-r--r-- | scripts/lib/resulttool/store.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/resulttool/store.py b/scripts/lib/resulttool/store.py index 3a81933242..e4a0807528 100644 --- a/scripts/lib/resulttool/store.py +++ b/scripts/lib/resulttool/store.py | |||
@@ -68,7 +68,7 @@ def store(args, logger): | |||
68 | results = revisions[r] | 68 | results = revisions[r] |
69 | keywords = {'commit': r[0], 'branch': r[1], "commit_count": r[2]} | 69 | keywords = {'commit': r[0], 'branch': r[1], "commit_count": r[2]} |
70 | subprocess.check_call(["find", tempdir, "!", "-path", "./.git/*", "-delete"]) | 70 | subprocess.check_call(["find", tempdir, "!", "-path", "./.git/*", "-delete"]) |
71 | resultutils.save_resultsdata(results, tempdir) | 71 | resultutils.save_resultsdata(results, tempdir, ptestlogs=True) |
72 | 72 | ||
73 | logger.info('Storing test result into git repository %s' % args.git_dir) | 73 | logger.info('Storing test result into git repository %s' % args.git_dir) |
74 | 74 | ||