Re: Kselftest use-cases - Shuah Khan
Daniel Sangorrin <daniel.sangorrin@...>
Hi Ben,
toggle quoted messageShow quoted text
# I added the fuego mailing list to Cc Thanks for the notes!
-----Original Message-----It also works on Fuego now! # Thanks Tim for integrating my patches. How to run tests:In Fuego we use a different approach. First we cross-compile and install the tests on a temporary folder. At this stage a script called "run_kselftest.sh" is generated. Then, we deploy the binaries and the script to the target where the "run_kselftest.sh" script is invoked. The good part of this approach is that Fuego does not require the target board to have a toolchain installed, kernel source on the target, etc. Set `O=dir` for an out-of-tree build. (But cureently thisActually I think that this was proposed by Tim. There is a TAP plugin for Jenkins that can be used for parsing the results in Fuego. However, currently "run_kselftest.sh" doesn't seem to use the TAP format. humm.. Maybe this is on the TODO list upstream, I need to investigate it further. The output of individual tests can be found in `/tmp` (currently),In Fuego there is now full control for specifying which test cases are allowed to fail and which not. I will enable that functionality on Fuego's integration scripts. Some tests apparently check for dependencies in a kernel config file.On some kselftest folders there is a "config" file that specifies the kernel configuration options that need to be enabled (or disabled). From what I see there is not a general script to check that they are configured on the target kernel. Fuego does support checking kernel configuration before running the test (using information from /proc/config.gz or /boot/config-`uname -r`). Maybe it would a good idea to add support on Fuego for checking individual kselftest's config files Thank, Daniel Tips and hints:
|
|