diff options
Diffstat (limited to 'templates/tests')
-rw-r--r-- | templates/tests/smoke.jinja2 | 12 | ||||
-rw-r--r-- | templates/tests/test1.jinja2 | 21 | ||||
-rw-r--r-- | templates/tests/test2.jinja2 | 22 |
3 files changed, 55 insertions, 0 deletions
diff --git a/templates/tests/smoke.jinja2 b/templates/tests/smoke.jinja2 new file mode 100644 index 0000000..c3e62dc --- /dev/null +++ b/templates/tests/smoke.jinja2 @@ -0,0 +1,12 @@ + +- test: + definitions: + - repository: https://git.automotivelinux.org/src/qa-testdefinitions + from: git + path: test-suites/short-smoke/busybox.yaml + name: busybox + - repository: https://git.automotivelinux.org/src/qa-testdefinitions + from: git + path: test-suites/short-smoke/smoke-tests-basic.yaml + name: smoke-tests-basic + diff --git a/templates/tests/test1.jinja2 b/templates/tests/test1.jinja2 new file mode 100644 index 0000000..8b04691 --- /dev/null +++ b/templates/tests/test1.jinja2 @@ -0,0 +1,21 @@ + +- test: + timeout: + minutes: 2 + definitions: + - repository: + metadata: + format: Lava-Test Test Definition 1.0 + name: test1 + description: "test1" + os: + - debian + scope: + - functional + run: + steps: + - lava-test-set start test1 + - lava-test-case always-pass --shell true + from: inline + name: dummytest1 + path: inline/test1.yaml diff --git a/templates/tests/test2.jinja2 b/templates/tests/test2.jinja2 new file mode 100644 index 0000000..4dd4a14 --- /dev/null +++ b/templates/tests/test2.jinja2 @@ -0,0 +1,22 @@ + +- test: + timeout: + minutes: 2 + definitions: + - repository: + metadata: + format: Lava-Test Test Definition 1.0 + name: test2 + description: "test2" + os: + - debian + scope: + - functional + run: + steps: + - lava-test-set start test2 + - lava-test-case always-fail --shell false + from: inline + name: dummytest2 + path: inline/test2.yaml + |