aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-05-17 14:38:22 +0200
committerLokesh Vutla <lokeshvutla@ti.com>2020-05-19 14:41:04 +0530
commit6cfd09d4ed43ee401cc16f1dffabe7911b603380 (patch)
tree3c0d5c9136f3484a326b9393261e19cac19752fa /.gitlab-ci.yml
parent7bf82cc1f8ac4c85f6eb1b7e37e302792fa954aa (diff)
downloadu-boot-6cfd09d4ed43ee401cc16f1dffabe7911b603380.zip
u-boot-6cfd09d4ed43ee401cc16f1dffabe7911b603380.tar.gz
u-boot-6cfd09d4ed43ee401cc16f1dffabe7911b603380.tar.bz2
Nokia RX-51: Add automated test for running RX-51 build in qemu
This patch contains test/nokia_rx51_test.sh script which automatically download and compile all needed tools in local temporary directory to generate a simple MTD images for booting Maemo kernel image by U-Boot from RAM, eMMC and OneNAND. MTD images are then run in virtual n900 machine provided by qemu-linaro project. This script does not need any special privileges, so it can be run as non-root nobody user. It can be used to check that U-Boot for Nokia N900 is not broken and can be successfully booted in emulator. Script is registered to .azure-pipelines.yml, .gitlab-ci.yml and .travis.yml so it would be automatically run on those CI services. Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index beaf9b9..badfcb4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -170,6 +170,14 @@ Run binman, buildman, dtoc, Kconfig and patman testsuites:
./tools/patman/patman --test;
make testconfig
+Run tests for Nokia RX-51 (aka N900):
+ tags: [ 'all' ]
+ stage: testsuites
+ script:
+ - ./tools/buildman/buildman --fetch-arch arm;
+ export PATH=~/.buildman-toolchains/gcc-9.2.0-nolibc/arm-linux-gnueabi/bin/:$PATH;
+ test/nokia_rx51_test.sh
+
# Test sandbox with test.py
sandbox test.py:
tags: [ 'all' ]