From f44300ea59e8b87417f085c408b8666814c9268e Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 28 Aug 2023 14:02:00 +0300 Subject: [PATCH] Test checking sysctl separately --- .github/workflows/functional_test.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/functional_test.sh b/.github/workflows/functional_test.sh index 89b5c77..f7a384d 100644 --- a/.github/workflows/functional_test.sh +++ b/.github/workflows/functional_test.sh @@ -63,6 +63,13 @@ do done echo "\n>>>>> have checked $COUNT kconfigs <<<<<" +echo ">>>>> check sysctl separately <<<<<" +coverage run -a --branch bin/kconfig-hardened-check -s $SYSCTL_EXAMPLE > /dev/null +coverage run -a --branch bin/kconfig-hardened-check -s $SYSCTL_EXAMPLE -m verbose > /dev/null +coverage run -a --branch bin/kconfig-hardened-check -s $SYSCTL_EXAMPLE -m json > /dev/null +coverage run -a --branch bin/kconfig-hardened-check -s $SYSCTL_EXAMPLE -m show_ok > /dev/null +coverage run -a --branch bin/kconfig-hardened-check -s $SYSCTL_EXAMPLE -m show_fail > /dev/null + echo "Collect coverage for error handling" echo ">>>>> -c and -p together <<<<<" -- 2.31.1