diff options
author | Hongzhi.Song <hongzhi.song@windriver.com> | 2019-01-23 02:14:28 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-24 17:45:25 +0000 |
commit | ba346e6aebef3c38c93f9330cdae4e462d67fd5f (patch) | |
tree | 17c7384df443c9c10038b8ea94aa74e2e3f8b2c6 /meta | |
parent | 15c54f56d697b00302b44d544eb597d169e75aef (diff) | |
download | poky-ba346e6aebef3c38c93f9330cdae4e462d67fd5f.tar.gz |
runtime/ksample.py: correct a syntax and perfect item about architecture
(From OE-Core rev: 997ab2f5b9faaf656d677392224325f2a2cbc966)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/ksample.py | 6 |
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): | |||
105 | # kprobe | 105 | # kprobe |
106 | @OETestDepends(['ssh.SSHTest.test_ssh']) | 106 | @OETestDepends(['ssh.SSHTest.test_ssh']) |
107 | def test_kprobe_test(self): | 107 | def test_kprobe_test(self): |
108 | self.check_arch("x86 ppc") | 108 | self.check_arch("x86_64 i686 ppc") |
109 | index = ["kprobe", "kretprobe"] | 109 | index = ["kprobe", "kretprobe"] |
110 | for i in index: | 110 | for i in index: |
111 | self.kprobe_func(i) | 111 | self.kprobe_func(i) |
@@ -173,9 +173,9 @@ class KSampleTest(KSample): | |||
173 | def test_hw_breakpoint_example(self): | 173 | def test_hw_breakpoint_example(self): |
174 | # check arch | 174 | # check arch |
175 | status, output = self.target.run("uname -m") | 175 | status, output = self.target.run("uname -m") |
176 | result = ("x86" in output) or ("aarch64" in output) | 176 | result = ("x86_64" in output) or ("aarch64" in output) |
177 | if not result: | 177 | if not result: |
178 | self.skipTest("the arch doesn't support hw breakpoint" % output) | 178 | self.skipTest("the arch %s doesn't support hw breakpoint" % output) |
179 | # check config | 179 | # check config |
180 | self.check_config("CONFIG_KALLSYMS_ALL") | 180 | self.check_config("CONFIG_KALLSYMS_ALL") |
181 | # make sure if module exists | 181 | # make sure if module exists |