summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-test/pyagl/files/run-pyagl-test
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-09-15 16:31:18 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-09-15 16:33:01 +0200
commitcf0f37327a9e0f896850bdea1fce1e29350929dd (patch)
treeca2466a120a8b675fc7819824fd024bc319beb46 /meta-agl-profile-core/recipes-test/pyagl/files/run-pyagl-test
parent0627a3a6f73e4d84aca3400e91d94852a8a02677 (diff)
Add wrapper for pyaglsandbox/jsmoeller/pyagl
This adds two wrappers for simple invocation of the pyagl pytests. run-pyagl-test and run-pyagl-test-lava . The latter one is to be used in CI. Bug-AGL: SPEC-3572 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ia7db7fbe4242510e6578cd1707594f039664d098
Diffstat (limited to 'meta-agl-profile-core/recipes-test/pyagl/files/run-pyagl-test')
-rw-r--r--meta-agl-profile-core/recipes-test/pyagl/files/run-pyagl-test4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-agl-profile-core/recipes-test/pyagl/files/run-pyagl-test b/meta-agl-profile-core/recipes-test/pyagl/files/run-pyagl-test
new file mode 100644
index 0000000..e62941c
--- /dev/null
+++ b/meta-agl-profile-core/recipes-test/pyagl/files/run-pyagl-test
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+export ${AGL_AVAILABLE_INTERFACES:=ethernet}
+pytest -k "not hwrequired" /usr/lib/python?.?/site-packages/pyagl/tests