From df2bdeb86d2aae337099db86b87de4c353592185 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Wed, 9 Sep 2020 14:35:45 +0200 Subject: Add test definitions for pyagl We can now call pytest using the pyagl/tests module. These expose -k regular and -k hwrequired, thus create two caller scripts. Also create a sample testsuite entry using the regular variant with limited AGL_AVAILABLE_INTERFACES. Bug-AGL: SPEC-3572 Signed-off-by: Jan-Simon Moeller Change-Id: Ic6b977da959f946ca88348715d5249748c70f736 --- test-suites/short-smoke/pyagl-regular-oneshot.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test-suites/short-smoke/pyagl-regular-oneshot.yaml (limited to 'test-suites/short-smoke') diff --git a/test-suites/short-smoke/pyagl-regular-oneshot.yaml b/test-suites/short-smoke/pyagl-regular-oneshot.yaml new file mode 100644 index 0000000..0bc53fd --- /dev/null +++ b/test-suites/short-smoke/pyagl-regular-oneshot.yaml @@ -0,0 +1,14 @@ +# These tests are applicable if the board to be used has at least one CAN interface. + +metadata: + name: pyagl_regular_oneshot + format: "Lava-Test-Shell Test Definition 1.0" + description: "pyagl_regular_oneshot" + version: 1.0 + +run: + steps: + - echo "pyagl regular oneshot" + - lava-test-set start pyagl-regular-oneshot + - ./common/scripts/pyagl-regular-lava.sh + - lava-test-set stop -- cgit 1.2.3-korg