diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2021-10-22 12:20:26 +0200 |
---|---|---|
committer | nareshkamboju <naresh.kamboju@gmail.com> | 2021-10-24 07:22:27 +0530 |
commit | de6ae15df4c819dca89b30bb50e74c16820f75fc (patch) | |
tree | ebcca4d374415f13d935a58c887ae8944feffcda | |
parent | c4ecdbdcb8122adacb24f47dd7e8e523c8fb63d4 (diff) |
kunit: don't fail if no config file available
Just print out a info message don't fail.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rwxr-xr-x | automated/linux/kunit/kunit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/automated/linux/kunit/kunit.sh b/automated/linux/kunit/kunit.sh index e553d27a..aa001b1e 100755 --- a/automated/linux/kunit/kunit.sh +++ b/automated/linux/kunit/kunit.sh @@ -91,11 +91,11 @@ then KERNEL_CONFIG_FILE="/boot/config-$(uname -r)" CONFIG_KUNIT_TEST=$(grep "CONFIG_KUNIT_TEST=" "${KERNEL_CONFIG_FILE}") else - exit_on_skip "kunit-pre-requirements" "Kernel config file not available" + info_msg"Kernel config file not available" fi if [ "${CONFIG_KUNIT_TEST}" = "CONFIG_KUNIT_TEST=y" ] then - exit_on_skip "kunit-pre-requirements" "Kernel config CONFIG_KUNIT_TEST=y not enabled" + info_msg "Kernel config CONFIG_KUNIT_TEST=y not enabled" fi run "${TEST_CMD}" |