aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/kunit
AgeCommit message (Collapse)Author
2022-11-25automated: linux: kunit: fix parsingAnders Roxell
Slugify test names so LAVA can understand the format. This will work with the old kunit way ok 1 - test_1.. and ok 1 test_1.. Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2022-02-02kunit: fix modprobe namesAnders Roxell
When doing modprobe on the modules the file suffix shouldn't be part there. Removing the '.ko' so we do 'modprobe name' only. Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2021-10-24kunit: don't fail if no config file availableAnders Roxell
Just print out a info message don't fail. Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2021-10-24kunit: fix find of kunit modulesAnders Roxell
Make it possible to pass in a module name or the last part of a module name like 'test.ko', then this will find all modules that ends with '*test.ko'. Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2020-10-06kunit: Adding kunit testsNaresh Kamboju
KUnit is a lightweight unit testing and mocking framework for the Linux kernel. KUnit consists of a kernel component, which provides a set of macros for easily writing unit tests. Tests written against KUnit will run on kernel boot if built-in, or when loaded if built as a module. Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>