summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2016-05-04 20:26:12 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2016-05-05 15:31:02 +0530
commit3f3555d43be85167c30e82123da49efb41d12196 (patch)
tree14ffdcd2fd730ec6551a0b81c4d6514ed5f34a34
parentaa5e02fdbf911cd36889d997ecce235436a3a97e (diff)
downloadtest-definitions-pipe-3f3555d43be85167c30e82123da49efb41d12196.tar.gz
kselftest: Add support to run tests from minimal rootfs
Kselftest is in built in minimal rootfs from buildroot. LAVA job should provide rootfs-armv7.tar or rootfs-armv8.tar URL Change-Id: Ie3e44ea4680b3294f857b9e29e3b36010e81a18b Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rw-r--r--ubuntu/kselftest.yaml29
1 files changed, 24 insertions, 5 deletions
diff --git a/ubuntu/kselftest.yaml b/ubuntu/kselftest.yaml
index 37d5f72..213d934 100644
--- a/ubuntu/kselftest.yaml
+++ b/ubuntu/kselftest.yaml
@@ -5,29 +5,48 @@ metadata:
maintainer:
- tyler.baker@linaro.org
- arthur.she@linaro.org
+ - naresh.kamboju@linaro.org
os:
- ubuntu
scope:
- functional
devices:
- - all
+ - arndale
+ - beaglebone-black
+ - highbank
+ - juno
+ - mustang
+ - mx53loco
+ - panda
+ - panda-es
+ - vexpress-a9
+ - vexpress-tc2
params:
TESTPROG: kselftest_armhf.tar.gz
+ KSELFTESTS_PATH: /usr/lib/kselftests
+# Skip install deps and steps on minimal rootfs from LAVA test
+# Example:
+# "skip_install": "all"
install:
deps:
- libpopt-dev
- libcap-dev
- binutils-dev
- perl
+ - wget
+ - tar
+ steps:
+ - 'echo "Downloading kselftests"'
+ - 'mkdir -p $KSELFTESTS_PATH'
+ - 'cd $KSELFTESTS_PATH'
+ - 'wget http://testdata.validation.linaro.org/tests/kselftest/$TESTPROG -O kselftest.tar.gz'
+ - 'tar --strip-components=1 -xaf kselftest.tar.gz'
run:
steps:
- - 'cd /tmp'
- - 'wget http://testdata.validation.linaro.org/tests/kselftest/$TESTPROG -O kselftest.tar.gz'
- - 'tar -xaf kselftest.tar.gz'
- - 'cd kselftest'
+ - 'cd $KSELFTESTS_PATH'
- './run_kselftest.sh'
parse: