From 65eac20ef3da60891749316fef23a0d58e5b342a Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Tue, 13 Jun 2017 11:15:28 +0200 Subject: Add examples for tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2488c210df0b71c1d7b752babce16fd80d17acd3 Signed-off-by: Jan-Simon Möller --- test-suites/short-smoke/busybox.yaml | 26 ++++++++++++++++++++++++++ test-suites/short-smoke/smoke-tests-basic.yaml | 20 ++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 test-suites/short-smoke/busybox.yaml create mode 100644 test-suites/short-smoke/smoke-tests-basic.yaml (limited to 'test-suites/short-smoke') diff --git a/test-suites/short-smoke/busybox.yaml b/test-suites/short-smoke/busybox.yaml new file mode 100644 index 0000000..2d33cf6 --- /dev/null +++ b/test-suites/short-smoke/busybox.yaml @@ -0,0 +1,26 @@ +metadata: + name: busybox + format: "Lava-Test-Shell Test Definition 1.0" + description: "Busybox test for Linaro OpenEmbedded builds. BusyBox is software that + provides several stripped-down Unix tools in a single executable file. + Busybox test runs mkdir, touch, ls, ps, whoami, which, basename, cp, rm, + dmesg and grep commands." + maintainer: + - senthil.kumaran@linaro.org + - milosz.wasilewski@linaro.org + - koen.kooi@linaro.org + os: + - openembedded + scope: + - functional + +run: + steps: + - "cd common/scripts" + - "./busybox.sh" + +parse: + pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" + fixupdict: + PASS: pass + FAIL: fail diff --git a/test-suites/short-smoke/smoke-tests-basic.yaml b/test-suites/short-smoke/smoke-tests-basic.yaml new file mode 100644 index 0000000..bef846c --- /dev/null +++ b/test-suites/short-smoke/smoke-tests-basic.yaml @@ -0,0 +1,20 @@ +metadata: + format: Lava-Test Test Definition 1.0 + name: smoke-tests-basic + description: "Basic system test command for Linaro OpenEmbedded images" + maintainer: + - dave.pigott@linaro.org + os: + - openembedded + scope: + - functional + +run: + steps: + - lava-test-case linux-linaro-openembedded-pwd --shell pwd + - lava-test-case linux-linaro-openembedded-uname --shell uname -a + - lava-test-case linux-linaro-openembedded-vmstat --shell vmstat + - lava-test-case linux-linaro-openembedded-ifconfig --shell ifconfig -a + - lava-test-case linux-linaro-openembedded-lscpu --shell lscpu + - lava-test-case linux-linaro-openembedded-lsusb --shell lsusb + - lava-test-case linux-linaro-openembedded-lsb_release --shell lsb_release -a -- cgit 1.2.3-korg