summaryrefslogtreecommitdiffstats
path: root/templates/tests
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2018-12-03 11:11:19 -0800
committerKevin Hilman <khilman@baylibre.com>2018-12-03 12:38:28 -0800
commit13e502784e98e8e5fdcd6289443a84a6c750b9b3 (patch)
treeabd7223466588110acc08d4327ec1f7c87d177cb /templates/tests
parent02f622f1a1dba7f0b8489022af9046be371b5687 (diff)
templates/tests: add test template for CI jobs
Rather than specifing the list of test suites on the command-line, instead use a new "ci" template for all the test-suites to run for CI jobs. For starters, it combines what is currently in "smoke" and "yocto-ptest" While at it, add the "history: False" property so that the .git directory is not included in the overlay tarball that is downloaded by the target device. Change-Id: Ibf53dfb035d306cf2f40b73b3c7fc15dc6e78b58 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'templates/tests')
-rw-r--r--templates/tests/ci.jinja223
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/tests/ci.jinja2 b/templates/tests/ci.jinja2
new file mode 100644
index 0000000..2d91611
--- /dev/null
+++ b/templates/tests/ci.jinja2
@@ -0,0 +1,23 @@
+
+- test:
+ definitions:
+ - repository: https://git.automotivelinux.org/src/qa-testdefinitions
+ from: git
+ history: False
+ path: test-suites/short-smoke/busybox.yaml
+ name: busybox
+ - repository: https://git.automotivelinux.org/src/qa-testdefinitions
+ from: git
+ history: False
+ path: test-suites/short-smoke/smoke-tests-basic.yaml
+ name: smoke-tests-basic
+ - repository: https://git.automotivelinux.org/src/qa-testdefinitions
+ from: git
+ history: False
+ path: test-suites/short-smoke/service-check.yaml
+ name: service-check
+ - repository: https://git.automotivelinux.org/src/qa-testdefinitions
+ from: git
+ history: False
+ path: test-suites/yocto-ptest.yaml
+ name: yocto-ptest