[OE-core] [oe-core][PATCH v2] Runtime selftest: hw breakpoint drops arm64, corrects syntax
Hongzhi.Song
hongzhi.song at windriver.com
Wed Aug 22 01:37:05 UTC 2018
1. Improve syntax in skip test output.
2. Do not run the test for arm64 because commit 176e50fb177dc40e4
did exclude arm64.
Signed-off-by: Hongzhi.Song <hongzhi.song at windriver.com>
---
meta/lib/oeqa/runtime/cases/ksample.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/runtime/cases/ksample.py b/meta/lib/oeqa/runtime/cases/ksample.py
index eb8713351a..0e00cdeeb6 100644
--- a/meta/lib/oeqa/runtime/cases/ksample.py
+++ b/meta/lib/oeqa/runtime/cases/ksample.py
@@ -166,9 +166,9 @@ class KSampleTest(KSample):
def test_hw_breakpoint_example(self):
# check arch
status, output = self.target.run("uname -m")
- result = ("x86" in output) or ("aarch64" in output)
+ result = "x86" in output
if not result:
- self.skipTest("the arch doesn't support hw breakpoint" % output)
+ self.skipTest("the arch %s doesn't support hw breakpoint" % output)
# check config
self.check_config("CONFIG_KALLSYMS_ALL")
# make sure if module exists
--
2.11.0
More information about the Openembedded-core
mailing list