- 05 Nov, 2020 1 commit
-
-
Simon Glass authored
This lets patman run all of its tests, rather than skipping quite a few. Signed-off-by:Simon Glass <sjg@chromium.org>
-
- 29 Oct, 2020 1 commit
-
-
Simon Glass authored
Run SPL unit tests in all test environments. Signed-off-by:Simon Glass <sjg@chromium.org>
-
- 15 Sep, 2020 1 commit
-
-
Marek Vasut authored
Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- 08 Aug, 2020 1 commit
-
-
Tom Rini authored
So that the tests we now have for squashfs can run, add squashfs-tools for mksquashfs. Signed-off-by:Tom Rini <trini@konsulko.com>
-
- 27 Jul, 2020 1 commit
-
-
Tom Rini authored
With the migration to python3 for all of our tests, we need to install pyelftools via pip now rather than the system tools as they will otherwise not be present in our virtualenv. Signed-off-by:Tom Rini <trini@konsulko.com> --- Changes in v2: Switch to pip
-
- 25 Jul, 2020 1 commit
-
-
Simon Glass authored
At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by:Simon Glass <sjg@chromium.org>
-
- 24 Jul, 2020 2 commits
-
-
git://git.denx.de/u-boot-dmTom Rini authored
This reverts commit 5d3a21df, reversing changes made to 56d37f1c. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649 Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Bin Meng authored
Change to use OpenSBI release v0.8 generic platform images for QEMU RISC-V CI testing for azure, gitlab and travis-ci. Signed-off-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- 20 Jul, 2020 1 commit
-
-
Simon Glass authored
At present we use --test to indicate that tests should be run. It is better to use a subcommand for list, like binman. Change it and adjust the existing code to fit under a 'send' subcommand, the default. Give this subcommand the same default arguments as the others. Signed-off-by:Simon Glass <sjg@chromium.org>
-
- 10 Jul, 2020 1 commit
-
-
Heinrich Schuchardt authored
Call pytest3 with argument -ra to display the reason why Python tests are skipped. The -r flag displays a test summary info for each test. -ra eliminates this info for passed tests. Pros an cons were discussed in: https://lists.denx.de/pipermail/u-boot/2020-June/417090.html Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
- 29 Jun, 2020 1 commit
-
-
Daniel Schwierzeck authored
Add Qemu tests for the MIPS Malta machine as a replacement for the deprecated generic MIPS machine. Signed-off-by:Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
- 19 May, 2020 1 commit
-
-
Pali Rohár authored
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>
-
- 27 Apr, 2020 2 commits
-
-
Tom Rini authored
At this point LLVM-7 is rather old. Switch over to LLVM-10 to enable some amount of CI coverage with newer compilers. Signed-off-by:Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Per Alexey Brodkin, this is the current toolchain we should use when building for ARC, update. Signed-off-by:Tom Rini <trini@konsulko.com>
-
- 24 Apr, 2020 1 commit
-
-
Simon Glass authored
At present if buildman reports an error, the travis build still succeeds. This is because the travis script does not stop when it sees errors; nor does it automatically return the exit code. Also the current error checking never triggers since 'ret' is not set. Fix this by setting 'ret' correctly. Signed-off-by:
Simon Glass <sjg@chromium.org> Reported-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Michal Simek <michal.simek@xilinx.com>
-
- 16 Apr, 2020 1 commit
-
-
AKASHI Takahiro authored
Pytest for UEFI secure boot will use several host commands. In particular, Test setup relies on efitools, whose version must be v1.5.2 or later. So fetch a new version of deb package directly. Please note it has a dependency on mtools, which must also be installed along wih efitools. In addition, the path, '/sbin', is added to PATH for use of sgdisk and mkfs. Signed-off-by:
AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- 11 Apr, 2020 11 commits
-
-
Simon Glass authored
This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by:Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It does not seem to be necessary to run buildman again to show errors, since any errors can be shown by the first invocation and there is only a single board being built. Update this to simplify the code, using the -e flag to make sure errors are shown. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
It seems unnecessary to read the exit code and then check it again. Drop this and just let the test.py provide the exit code directly. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
Ensure that this SPL test runs on gitlab. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
We can use the -W flag to tell buildman to ignore warnings. Since we also have -E defined, compiler warnings are promoted to errors, so they will still cause a failure. But migration warnings of the form: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. will now be ignored. Signed-off-by:Simon Glass <sjg@chromium.org> Fixes: 329f5ef5 (travis.yml: run buildman with option -E) Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
Bash allows for variables to expand only if non-empty: $ var=test $ echo ${var:+"$var"} test $ echo ${var:+"-k $var"} -k test $ var= $ echo ${var:+"-k $var"} Use this feature to avoid the workaround. Signed-off-by:Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
This has no effect since -S is not given also. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
This is not needed in the test.py part of the config, now since we use the same name as the pytests. Drop BUILDMAN, retaining it only for the 'build' parts of the config, i.e. where we build multiple boards and don't run any tests. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
Buildman is used in two ways: - to build a selection of boards (with no testing) - to build a single board (and run pytest) The gitlab and azure scrips do this in separate places, but travis does not. To aid the refactoring process and keep the following patches in sync across all three environments, split the code out in travis as well. Use the buildman -w option for the single board. It is easier to understand since it specifies the output directory directly. Also it avoids needing to look at the internal .bm-work directory. This initially creates some duplicate code, but by the end of the series we have two completely different build paths with different arguments. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
At present if TEST_PY_BD is empty the script copies various files into a directory, to no purpose. This happens because UBOOT_TRAVIS_BUILD_DIR is set before TEST_PY_BD is tested. Move the 'if' to fix this. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- 10 Apr, 2020 5 commits
-
-
Bin Meng authored
Use gcc 9.2.0 to do the build testing. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Bin Meng authored
This adds QEMU RISC-V 32/64 SPL testing. Unlike QEMU RISC-V 32/64, we test SPL running in M-mode and U-Boot proper running in S-mode, with a 4-core SMP configuration. Signed-off-by:Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
This adds the qemu-riscv32_defconfig test configuration. Signed-off-by:Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
This adds the GRUB image build for RISC-V 32-bit and 64-bit. Signed-off-by:Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
As of today travis uses the pre-built GRUB ARM/ARM64 images from opensuse. But azure/gitlab are using images built from GRUB 2.04 source. This updates travis to build GRUB ARM/ARM64 UEFI targets from source, to keep in sync with azure/gitlab. Signed-off-by:Bin Meng <bmeng.cn@gmail.com>
-
- 06 Apr, 2020 1 commit
-
-
Michal Simek authored
There are a lot of zynq configurations which can be merged together and use only one for all. The similar change has been done for ZynqMP by commit be1b6c32 ("arm64: zynqmp: Use zynqmp_virt platform") Build SPL with u-boot.img for zc706 like this. export DEVICE_TREE=zynq-zc706 && make xilinx_zynq_virt_defconfig && make -j8 u-boot.img is generic for all boards. Tested on Zybo, zc702, zc706, zc770-xm011-x16, cc108 and microzed. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- 16 Mar, 2020 1 commit
-
-
Tom Rini authored
The Kconfig language provides a unit test that can be run. As these require pytest to be installed and run very quickly, bundle them in to an existing CI job. Signed-off-by:Tom Rini <trini@konsulko.com>
-
- 09 Mar, 2020 1 commit
-
-
Tom Rini authored
We keep both of these jobs in sync as much as possible even when the primary motivation is to keep Travis from exceeding the build time limit there. With that in mind: - Use "rk" not "rockchip" to get all Rockchip SoC platforms in one job, rather than just all Rockchip vendor platforms. - The NXP LX216* SoCs have their own job, exclude them from the AArch64 generic job. - SoCFPGA SoCs have their own job, exclude them from the AArch64 generic job. Signed-off-by:Tom Rini <trini@konsulko.com>
-
- 25 Feb, 2020 2 commits
-
-
Heinrich Schuchardt authored
Several patches delivered incorrect restructured text as documentation. We should be able to discover this in Travis CI. Provide a build step for 'make htmldocs'. Add required package graphviz. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Tom Rini authored
In order to build htmldocs we need sphinx-build which comes from python3-sphinx. Signed-off-by:Tom Rini <trini@konsulko.com>
-
- 13 Feb, 2020 1 commit
-
-
Tom Rini authored
When running our tests there are some cases where as part of the Python 2.7 to Python 3.6 migration we didn't force Python 3.6 to be used as everything wasn't yet migrated. Now that everything is, make sure to tell virtualenv to use python3. In the case of Travis this is best done by making the tools test happen after the main tests so that it will already have been run in all cases, TEST_PY_TOOLS is a subset of TEST_PY_BD. Signed-off-by:Tom Rini <trini@konsulko.com>
-
- 06 Feb, 2020 1 commit
-
-
Simon Glass authored
Sandbox currently uses SDL1.2. SDL2 has been around for quite a while and is widely supported. It has a number of useful features. It seems appropriate to move sandbox over. Update the code to use SDL2 instead of SDL1.2. Signed-off-by:Simon Glass <sjg@chromium.org>
-
- 11 Jan, 2020 1 commit
-
-
Tom Rini authored
Given our tests in GitLab / Azure we can use QEMU v4.2.0 for all platforms now. Signed-off-by:Tom Rini <trini@konsulko.com>
-