diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2019-09-04 14:23:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-07 21:56:43 +0100 |
commit | 074388daf5ceb0b413caa76f348bf6f4b19fc131 (patch) | |
tree | 14dab672bd28ff530290fb477699c73beb270b32 /meta/lib/oeqa/selftest/cases/gcc.py | |
parent | 219c199d347a965d3abe486fc13f41d91df7c751 (diff) | |
download | poky-074388daf5ceb0b413caa76f348bf6f4b19fc131.tar.gz |
oeqa/selftest: Toolchain tests suffix "-user" for qemu usermode results
Suffix the ptestresults suite with "-user" for tests that are executing
against usermode qemu.
(From OE-Core rev: 0becf9c1fabb080a2481ebdacef6221f52301621)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/gcc.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/gcc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/gcc.py b/meta/lib/oeqa/selftest/cases/gcc.py index dba453f00a..f4fed40ea5 100644 --- a/meta/lib/oeqa/selftest/cases/gcc.py +++ b/meta/lib/oeqa/selftest/cases/gcc.py | |||
@@ -79,6 +79,7 @@ class GccSelfTest(OESelftestTestCase): | |||
79 | sumspath = os.path.join(builddir, target_sys, suite, "testsuite", "{0}.sum".format(suite.split("-")[0])) | 79 | sumspath = os.path.join(builddir, target_sys, suite, "testsuite", "{0}.sum".format(suite.split("-")[0])) |
80 | 80 | ||
81 | ptestsuite = "gcc-{}".format(suite) if suite != "gcc" else suite | 81 | ptestsuite = "gcc-{}".format(suite) if suite != "gcc" else suite |
82 | ptestsuite = ptestsuite + "-user" if ssh is None else ptestsuite | ||
82 | self.tc.extraresults["ptestresult.sections"][ptestsuite] = {} | 83 | self.tc.extraresults["ptestresult.sections"][ptestsuite] = {} |
83 | with open(sumspath, "r") as f: | 84 | with open(sumspath, "r") as f: |
84 | for test, result in parse_values(f): | 85 | for test, result in parse_values(f): |