From e9867ca57bacd85bd47eaabbae5afda805754834 Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Wed, 3 Feb 2021 12:18:36 -0500 Subject: [PATCH] tests: report kernel version check failures Report kernel version check failures in the test log. Signed-off-by: Mark Stapp --- tests/topotests/lib/common_config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py index a1ef2f5f28..ce35bdc0fe 100644 --- a/tests/topotests/lib/common_config.py +++ b/tests/topotests/lib/common_config.py @@ -4119,6 +4119,9 @@ def required_linux_kernel_version(required_version): 'These tests will not run on kernel "{}", ' "they require kernel >= {})".format(system_kernel, required_version) ) + + logger.info(error_msg) + return error_msg return True -- 2.39.5