From: Alexander Popov Date: Mon, 8 May 2023 17:01:54 +0000 (+0300) Subject: Check all configs with the installed tool the functional test in Woodpecker-CI X-Git-Tag: v0.6.6~159 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=b266de5d93d81e6adf4169c7aad4fb636ed6f301;p=kconfig-hardened-check.git Check all configs with the installed tool the functional test in Woodpecker-CI --- diff --git a/.woodpecker/functional_test.yml b/.woodpecker/functional_test.yml index 4282e25..ebd631a 100644 --- a/.woodpecker/functional_test.yml +++ b/.woodpecker/functional_test.yml @@ -9,8 +9,14 @@ pipeline: - pwd - ls -la - python --version - - echo "Install package via pip..." + - echo "Install the package via pip..." - pip --verbose install --no-cache-dir git+https://github.com/a13xp0p0v/kconfig-hardened-check - echo "Run the installed tool..." - which kconfig-hardened-check - kconfig-hardened-check + - echo "Check all configs with the installed tool..." + - CONFIG_DIR=`find /usr/local/lib/ -name config_files` + - KCONFIGS=`find $CONFIG_DIR -type f | grep "\.config"` + - COUNT=0 + - for C in $KCONFIGS; do COUNT=$(expr $COUNT + 1); echo ">>>>> checking kconfig number $COUNT <<<<<"; kconfig-hardened-check -c $C -l /proc/cmdline; done + - echo ">>>>> have checked $COUNT kconfigs <<<<<"