summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/glibc.py
AgeCommit message (Collapse)Author
2019-09-11oeqa/selftest: Rework toolchain tests to use OEPTestResultTestCaseNathan Rossi
Use OEPTestResultTestCase to collect results and add logfile collection and compression. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-07oeqa/selftest/cases/glibc.py: Rework and tag with toolchain-user/systemNathan Rossi
Rework the glibc execution into a common base class. Additionally tag the tests with "toolchain-user" and "toolchain-system". Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-07oeqa/selftest: Use extraresults on self instead of self.tcNathan Rossi
In order to take advantage of multiprocess execution of tests the extraresults must be passed through the TestResult. With changes to how oeqa/core handles test cases the extraresults attribute of the testcase is passed to the TestResult, with passing across process boundaries handled automatically. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-07oeqa/selftest: Toolchain tests suffix "-user" for qemu usermode resultsNathan Rossi
Suffix the ptestresults suite with "-user" for tests that are executing against usermode qemu. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-07oeqa/selftest: For toolchain tests do not fail if a test failedNathan Rossi
Do not fail the running selftest test case if the test suite has a failed test case. Currently toolchain tests suites (binutils, gcc, glibc) fail but this does not indicate failure to execute the tests. Also remove the logging of each test that failed. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-07oeqa/selftest/cases/glibc.py: Don't install python3 and pexpectNathan Rossi
When running the system emulation test case, do not include python3 or pexpect in the image. The test cases that use these also need gdb (with python configured). Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-07oeqa/selftest/glibc: Create selftest case for glibc test suiteNathan Rossi
Create a oeqa selftest test case to execute the glibc test suite and report the results. The results are populated into the extraresults variable of the test case which are written to testresults.json for resulttool to analyse. An additional subclass is created to separate the execution with qemu linux-user and qemu system. The GlibcSelfTestSystemEmulated test case handles setup of the target image, setup of and NFS server as well as execution with runqemu. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>