re-write CLI argument parsing for testability
This commit is contained in:
1 parent
8cb8d4bf69
commit
5ab17ec375
7 files changed
+552
-39
No files matched your search
+2
-1
@@ -45,7 +45,7 @@ OUTDIR="$PWD"/coverage
|
||||
install -d "$OUTDIR"
|
||||
|
||||
# pre-process for each directory, correcting "file" relative to repo root
|
||||
for dir in src ioc
|
||||
for dir in src ioc tools
|
||||
do
|
||||
( cd "$TDIR"/$dir/O.linux-* \
|
||||
&& gcovr --gcov-ignore-parse-errors -v -r .. --json \
|
||||
@@ -57,6 +57,7 @@ done
|
||||
gcovr \
|
||||
--add-tracefile "$TDIR"/src.json \
|
||||
--add-tracefile "$TDIR"/ioc.json \
|
||||
--add-tracefile "$TDIR"/tools.json \
|
||||
--html --html-details -o "$OUTDIR"/coverage.html
|
||||
|
||||
cd "$OUTDIR"
|
||||
|
||||
Reference in new issue
Block a user