From cf0f37327a9e0f896850bdea1fce1e29350929dd Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Tue, 15 Sep 2020 16:31:18 +0200 Subject: Add wrapper for 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 Change-Id: Ia7db7fbe4242510e6578cd1707594f039664d098 --- meta-agl-profile-core/recipes-test/pyagl/files/run-pyagl-test | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 meta-agl-profile-core/recipes-test/pyagl/files/run-pyagl-test (limited to 'meta-agl-profile-core/recipes-test/pyagl/files/run-pyagl-test') 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 -- cgit v1.1