aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/tests/can_if_hw_connection.jinja29
-rw-r--r--templates/tests/ci.jinja26
-rw-r--r--templates/tests/test_can_loopback.jinja2 (renamed from templates/tests/can.jinja2)5
3 files changed, 16 insertions, 4 deletions
diff --git a/templates/tests/can_if_hw_connection.jinja2 b/templates/tests/can_if_hw_connection.jinja2
new file mode 100644
index 0000000..3611bea
--- /dev/null
+++ b/templates/tests/can_if_hw_connection.jinja2
@@ -0,0 +1,9 @@
+
+- test:
+ timeout:
+ minutes: 10
+ definitions:
+ - repository: https://git.automotivelinux.org/src/qa-testdefinitions
+ from: git
+ path: test-suites/short-smoke/can_if_hw_connection.yaml
+ name: can_if_hw_connection
diff --git a/templates/tests/ci.jinja2 b/templates/tests/ci.jinja2
index 8408057..996fdcb 100644
--- a/templates/tests/ci.jinja2
+++ b/templates/tests/ci.jinja2
@@ -23,7 +23,11 @@
DEVICE_TAGS: "{{ DEVICE_TAGS|join(' ')|lower }}"
{% if "can" in DEVICE_TAGS|lower %}
-{% include 'tests/can.jinja2' %}
+{% include 'tests/test_can_loopback.jinja2' %}
+{% endif %}
+
+{% if "can_if_hw_connection" in DEVICE_TAGS|lower %}
+{% include 'tests/can_if_hw_connection.jinja2' %}
{% endif %}
- test:
diff --git a/templates/tests/can.jinja2 b/templates/tests/test_can_loopback.jinja2
index 229985f..58eb994 100644
--- a/templates/tests/can.jinja2
+++ b/templates/tests/test_can_loopback.jinja2
@@ -1,9 +1,8 @@
-
- test:
timeout:
minutes: 10
definitions:
- repository: https://git.automotivelinux.org/src/qa-testdefinitions
from: git
- path: test-suites/short-smoke/test_can.yaml
- name: can
+ path: test-suites/short-smoke/test_can_loopback.yaml
+ name: can_loopback \ No newline at end of file