In CI we will execute the 'not hwrequired' flag.
Make this the default case in the test-suites.
Bug-AGL: SPEC-3572
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I370bb3c12953d7455a1a4c06c573cbc10ee17bda
--- /dev/null
+#!/bin/bash
+# for now play safe and only expect ethernet
+export AGL_AVAILABLE_INTERFACES="ethernet"
+
+pytest --color=no --show-capture=no -k "not hwrequired" /usr/lib/python?.?/site-packages/pyagl/tests/ -L
+
+
+++ /dev/null
-#!/bin/bash
-# for now play safe and only expect ethernet
-export AGL_AVAILABLE_INTERFACES="ethernet"
-
-pytest --color=no --show-capture=no -k "regular and not hwrequired" /usr/lib/python?.?/site-packages/pyagl/tests/ -L
-
-
--- /dev/null
+# These tests are applicable if the board to be used has at least one CAN interface.
+
+metadata:
+ name: pyagl_nohw_oneshot
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "pyagl_nohw_oneshot"
+ version: 1.0
+
+run:
+ steps:
+ - echo "pyagl - no external hardware - oneshot"
+ - lava-test-set start pyagl-nohw-oneshot
+ - ./common/scripts/pyagl-nohw-lava.sh
+ - lava-test-set stop
+++ /dev/null
-# 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