diff options
Diffstat (limited to 'meta/lib')
-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 |