CAN bus tests
[src/qa-testdefinitions.git] / test-suites / short-smoke / test_can.yaml
diff --git a/test-suites/short-smoke/test_can.yaml b/test-suites/short-smoke/test_can.yaml
new file mode 100644 (file)
index 0000000..a55eaab
--- /dev/null
@@ -0,0 +1,26 @@
+# these tests are applicable if and only if the board to be used has two CAN interfaces
+
+metadata:
+  name: my_can_test
+  format: "Lava-Test-Shell Test Definition 1.0"
+  description: "my_can_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
+       - ./comon/scripts/test_can_bitrate.sh
+       - lava-test-set stop