diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/suspend.py')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/suspend.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/suspend.py b/meta/lib/oeqa/runtime/cases/suspend.py index 67b6f7e56f..a625cc5901 100644 --- a/meta/lib/oeqa/runtime/cases/suspend.py +++ b/meta/lib/oeqa/runtime/cases/suspend.py | |||
@@ -1,3 +1,8 @@ | |||
1 | # | ||
2 | # Copyright OpenEmbedded Contributors | ||
3 | # | ||
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
1 | from oeqa.runtime.case import OERuntimeTestCase | 6 | from oeqa.runtime.case import OERuntimeTestCase |
2 | from oeqa.core.decorator.depends import OETestDepends | 7 | from oeqa.core.decorator.depends import OETestDepends |
3 | from oeqa.core.decorator.data import skipIfQemu | 8 | from oeqa.core.decorator.data import skipIfQemu |
@@ -23,7 +28,7 @@ class Suspend_Test(OERuntimeTestCase): | |||
23 | (status, output) = self.target.run('sudo rtcwake -m mem -s 10') | 28 | (status, output) = self.target.run('sudo rtcwake -m mem -s 10') |
24 | self.assertEqual(status, 0, msg = 'Failed to suspends your system to RAM, output : %s' % output) | 29 | self.assertEqual(status, 0, msg = 'Failed to suspends your system to RAM, output : %s' % output) |
25 | 30 | ||
26 | @skipIfQemu('qemuall', 'Test only runs on real hardware') | 31 | @skipIfQemu() |
27 | @OETestDepends(['ssh.SSHTest.test_ssh']) | 32 | @OETestDepends(['ssh.SSHTest.test_ssh']) |
28 | def test_suspend(self): | 33 | def test_suspend(self): |
29 | self.test_date() | 34 | self.test_date() |