projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2cb18b1
)
Add more tests to increase coverage - III
author
Alexander Popov
<alex.popov@linux.com>
Mon, 30 Mar 2020 20:29:42 +0000
(23:29 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Mon, 30 Mar 2020 20:31:10 +0000
(23:31 +0300)
.github/workflows/main.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/main.yml
b/.github/workflows/main.yml
index c3763e086df338b2cee764fee6f36f209dfdf1be..44d3b4e99d6b84a8d718620488a09d55f0802e45 100644
(file)
--- a/
.github/workflows/main.yml
+++ b/
.github/workflows/main.yml
@@
-42,7
+42,7
@@
jobs:
do
COUNT=$(expr $COUNT + 1)
echo -e "\n>>>>> checking config number $COUNT <<<<<"
do
COUNT=$(expr $COUNT + 1)
echo -e "\n>>>>> checking config number $COUNT <<<<<"
- kconfig-hardened-check -c $C
|| exit
+ kconfig-hardened-check -c $C
done
echo -e "\n>>>>> checking $COUNT configs is done <<<<<"
done
echo -e "\n>>>>> checking $COUNT configs is done <<<<<"
@@
-56,12
+56,16
@@
jobs:
coverage run -a --branch bin/kconfig-hardened-check -p X86_32
coverage run -a --branch bin/kconfig-hardened-check -p ARM64
coverage run -a --branch bin/kconfig-hardened-check -p ARM
coverage run -a --branch bin/kconfig-hardened-check -p X86_32
coverage run -a --branch bin/kconfig-hardened-check -p ARM64
coverage run -a --branch bin/kconfig-hardened-check -p ARM
+ coverage run -a --branch bin/kconfig-hardened-check -p X86_64 --debug
+ coverage run -a --branch bin/kconfig-hardened-check -p X86_64 --json
CONFIG_DIR=`find /opt/hostedtoolcache/Python/ -name config_files`
CONFIGS=`find $CONFIG_DIR -type f|grep "\.config"`
for C in $CONFIGS
do
CONFIG_DIR=`find /opt/hostedtoolcache/Python/ -name config_files`
CONFIGS=`find $CONFIG_DIR -type f|grep "\.config"`
for C in $CONFIGS
do
- coverage run -a --branch bin/kconfig-hardened-check -c $C || exit
+ coverage run -a --branch bin/kconfig-hardened-check -c $C
+ coverage run -a --branch bin/kconfig-hardened-check -c $C --debug
+ coverage run -a --branch bin/kconfig-hardened-check -c $C --json
done
coverage xml -i -o coverage.xml
done
coverage xml -i -o coverage.xml