zephyr/scripts
Wenbo Yang 999290278e hardening: Deal with empty lines in csv file
The extra empty line broke the "ninja hardenconfig" on my machine with
Python 3.7.5, it complains:

"
... ...
File "/home/zephyrproject/zephyr/scripts/kconfig/hardenconfig.py",
line 46, in compare_with_hardened_conf

name = row[0]
IndexError: list index out of range
FAILED: CMakeFiles/hardenconfig
"

The csv.reader reads this empty line and gets an empty list which will
not be successfully "de-referenced". Adding extra check to skip the
empty lines.

Signed-off-by: Wenbo Yang <wenbo.yangcn@gmail.com>
2020-08-12 16:43:18 -04:00
..
checkpatch
ci
coccinelle
dts
footprint
gitlint
kconfig hardening: Deal with empty lines in csv file 2020-08-12 16:43:18 -04:00
net
release
sanity_chk sanitycheck: fix --coverage-tool gcovr 2020-08-11 08:36:39 -04:00
support
tests
tracing
west_commands
.gitignore
checkpatch.pl
checkstack.pl
coccicheck
dir_is_writeable.py
file2hex.py
filter-known-issues.py
gen_app_partitions.py
gen_cfb_font_header.py
gen_gcov_files.py
gen_kobject_list.py
gen_offset_header.py
gen_relocate_app.py
gen_syscalls.py
get_maintainer.py
mergehex.py
parse_syscalls.py
process_gperf.py
requirements-base.txt
requirements-build-test.txt
requirements-compliance.txt python3: add check_compliance package requirements 2020-08-11 14:49:48 -04:00
requirements-doc.txt
requirements-extras.txt
requirements-run-test.txt
requirements.txt python3: add check_compliance package requirements 2020-08-11 14:49:48 -04:00
sanitycheck sanitycheck: tests: Fill results for skipped tests 2020-08-06 11:49:39 +02:00
series-push-hook.sh
spelling.txt
subfolder_list.py
tags.sh
user_wordsize.py
valgrind.supp
west-commands.yml
zephyr_module.py