mirror of
https://github.com/linux-msm/bootrr.git
synced 2026-02-25 13:12:03 -08:00
f65d7327ca3d2f318048bdcce70e7097d97d03a0
bootrr requires a description of each board it runs on to provide detection of the actual devices and system support that is present. Currently these descriptions must be written by hand but we can ease the process of creating them by providing a tool which examines the running system and outputs a set of bootrr assertions which would pass on the system. The script will require post processing by users, the generate rule names won't be good, hotplugged devices will be included and any spaces in device or driver names will cause confusion, but it can provide a usefuls starting point. Signed-off-by: Mark Brown <broonie@kernel.org>
Bootrr
A sanity checker for boards under automated test on LAVA.
Before running the tests for your software stack on LAVA, you really want to ensure that the basics are in place.
Testing that all the expected hardware is detected and that modules and firmwares can be loaded catches some very common kind of regressions: for instance, when renaming identifiers it is often the case that firmware blobs no longer get loaded since their location needs to be updated accordingly.
This repository contains:
- static board descriptions that list what to expect for each specific board type
- helpers to inspect the current system and compare it against the static board description for it
- the
bootrrscript to automatically detect the current board and run the matching tests
The output is in a format meant to be directly parsed by LAVA.
Install
$ make prefix=/usr/local DESTDIR=/ install
Usage
$ bootrr
<LAVA_SIGNAL_TESTCASE TEST_CASE_ID=deferred-probe-empty RESULT=skip>
<LAVA_SIGNAL_TESTCASE TEST_CASE_ID=all-cpus-are-online RESULT=pass>
Related Efforts
- LAVA - A continuous integration system for deploying operating systems onto physical and virtual hardware for running tests.
- KernelCI - Community-led test system focused on the upstream Linux kernel.
License
BSD-3-Clause
Description
Languages
Shell
99.4%
Makefile
0.6%