summaryrefslogtreecommitdiffstats
path: root/test-suites
diff options
context:
space:
mode:
Diffstat (limited to 'test-suites')
-rw-r--r--test-suites/short-smoke/can_if_hw_connection.yaml (renamed from test-suites/short-smoke/test_can.yaml)13
-rw-r--r--test-suites/short-smoke/service-check.yaml7
-rw-r--r--test-suites/short-smoke/test_can_loopback.yaml17
3 files changed, 26 insertions, 11 deletions
diff --git a/test-suites/short-smoke/test_can.yaml b/test-suites/short-smoke/can_if_hw_connection.yaml
index 4472018..acbd6a8 100644
--- a/test-suites/short-smoke/test_can.yaml
+++ b/test-suites/short-smoke/can_if_hw_connection.yaml
@@ -1,26 +1,21 @@
-# these tests are applicable if and only if the board to be used has two CAN interfaces
+# These tests are applicable if and only if the board to be used has two CAN interfaces.
+# These two interfaces should be wired to eachother.
metadata:
- name: my_can_test
+ name: can_if_hw_connection_test
format: "Lava-Test-Shell Test Definition 1.0"
- description: "my_can_test"
+ description: "can_if_hw_connection_test"
version: 1.0
run:
steps:
- echo "CAN_tests"
- - lava-test-set start test_can_loopback_mode
- - ./common/scripts/test_can_loopback_mode.sh
- - lava-test-set stop
- lava-test-set start test_can_send_receive
- ./common/scripts/test_can_send_receive.sh
- lava-test-set stop
- lava-test-set start test_stats
- ./common/scripts/test_stats.sh
- lava-test-set stop
- - lava-test-set start test_can_modules
- - ./common/scripts/test_can_modules.sh
- - lava-test-set stop
- lava-test-set start test_can_bitrate
- ./common/scripts/test_can_bitrate.sh
- lava-test-set stop
diff --git a/test-suites/short-smoke/service-check.yaml b/test-suites/short-smoke/service-check.yaml
index 8c680c9..a7f7b1d 100644
--- a/test-suites/short-smoke/service-check.yaml
+++ b/test-suites/short-smoke/service-check.yaml
@@ -8,8 +8,11 @@ metadata:
- openembedded
scope:
- functional
+params:
+ BUILD_TAGS: ""
+ DEVICE_TAGS: ""
run:
steps:
- - "cd common/scripts"
- - "./service-check-gfx.sh"
+ - cd common/scripts
+ - ./service-check-gfx.sh -b "${BUILD_TAGS}" -d "${DEVICE_TAGS}"
diff --git a/test-suites/short-smoke/test_can_loopback.yaml b/test-suites/short-smoke/test_can_loopback.yaml
new file mode 100644
index 0000000..7074a0d
--- /dev/null
+++ b/test-suites/short-smoke/test_can_loopback.yaml
@@ -0,0 +1,17 @@
+# These tests are applicable if the board to be used has at least one CAN interface.
+
+metadata:
+ name: Test_can_loopback
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Test_can_loopback"
+ version: 1.0
+
+run:
+ steps:
+ - echo "basic_CAN_tests"
+ - lava-test-set start test_can_loopback_mode
+ - ./common/scripts/test_can_loopback_mode.sh
+ - lava-test-set stop
+ - lava-test-set start test_can_modules
+ - ./common/scripts/test_can_modules.sh
+ - lava-test-set stop \ No newline at end of file