summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/runtime/cases/pcie.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/pcie.py b/meta/lib/oeqa/runtime/cases/pcie.py
new file mode 100644
index 00000000000..55b4d9d5f56
--- /dev/null
+++ b/meta/lib/oeqa/runtime/cases/pcie.py
@@ -0,0 +1,8 @@
+from oeqa.runtime.case import OERuntimeTestCase
+
+class PcieTest(OERuntimeTestCase):
+
+ def test_pcie(self):
+ (status, output) = self.target.run('dmesg | grep pcie OR lspci -v | grep pcie')
+ msg = 'status and output: %s and %s' % (status, output)
+ self.assertEqual(status, 0, msg=msg) \ No newline at end of file