diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/cases')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/ksample.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ksample.py b/meta/lib/oeqa/runtime/cases/ksample.py index 26fbe9d8cb..eb8713351a 100644 --- a/meta/lib/oeqa/runtime/cases/ksample.py +++ b/meta/lib/oeqa/runtime/cases/ksample.py @@ -164,6 +164,11 @@ class KSampleTest(KSample): # hw breakpoint @OETestDepends(['ssh.SSHTest.test_ssh']) def test_hw_breakpoint_example(self): + # check arch + status, output = self.target.run("uname -m") + result = ("x86" in output) or ("aarch64" in output) + if not result: + self.skipTest("the arch doesn't support hw breakpoint" % output) # check config self.check_config("CONFIG_KALLSYMS_ALL") # make sure if module exists |