summaryrefslogtreecommitdiffstats
path: root/test-suites/short-smoke/test_can_loopback.yaml
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-10-11 12:50:11 +0200
committerKhouloud Touil <ktouil@baylibre.com>2019-10-15 09:43:21 +0200
commitc532114e01614de3885686e849c59746003bfacf (patch)
tree1eb94ca9a9e0c8f379ce8ca33d968ac500005ab6 /test-suites/short-smoke/test_can_loopback.yaml
parent4b263fd3625dbb9a2f30c77bbd8e49bde0bca967 (diff)
qa-testdefinitions: Split can tests to avoid failures
Split the can tests in two, one for basic tests that doesn't need the two can interfaces to be related, and the other one is for a board with two related interfaces. Modify the test_can_modules to be run on a board with only one can if at least. AGL-bug: SPEC-2878 Change-Id: I6f761458c3e191aa8000d19cb05b0592566cb6c9 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Diffstat (limited to 'test-suites/short-smoke/test_can_loopback.yaml')
-rw-r--r--test-suites/short-smoke/test_can_loopback.yaml17
1 files changed, 17 insertions, 0 deletions
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