summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorHongzhi.Song <hongzhi.song@windriver.com>2019-01-23 02:14:28 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-24 17:45:18 +0000
commit997ab2f5b9faaf656d677392224325f2a2cbc966 (patch)
tree78c9fc216bc7c63c8078fdde3d6a7e74b383047b /meta/lib/oeqa/runtime
parent984f56b37bd0014e5bf9509fc8ed181973e61773 (diff)
downloadopenembedded-core-contrib-997ab2f5b9faaf656d677392224325f2a2cbc966.tar.gz
runtime/ksample.py: correct a syntax and perfect item about architecture
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/cases/ksample.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ksample.py b/meta/lib/oeqa/runtime/cases/ksample.py
index 584d0fb5e4..de2366a793 100644
--- a/meta/lib/oeqa/runtime/cases/ksample.py
+++ b/meta/lib/oeqa/runtime/cases/ksample.py
@@ -105,7 +105,7 @@ class KSampleTest(KSample):
# kprobe
@OETestDepends(['ssh.SSHTest.test_ssh'])
def test_kprobe_test(self):
- self.check_arch("x86 ppc")
+ self.check_arch("x86_64 i686 ppc")
index = ["kprobe", "kretprobe"]
for i in index:
self.kprobe_func(i)
@@ -173,9 +173,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_64" in output) or ("aarch64" 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