Skip to content

Commit

Permalink
simplify output
Browse files Browse the repository at this point in the history
  • Loading branch information
jouho committed Dec 6, 2024
1 parent 440328f commit bac3ded
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions codebuild/spec/buildspec_fuzz_scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ phases:
build:
on-failure: ABORT
commands:
#TODO: change fuzz timeout back to 27000
- |
cmake . -Bbuild \
-DCMAKE_PREFIX_PATH=/usr/local/$S2N_LIBCRYPTO \
-DS2N_FUZZ_TEST=on \
-DFUZZ_TIMEOUT_SEC=60 \
-DFUZZ_TIMEOUT_SEC=27000 \
-DCOVERAGE=on \
-DBUILD_SHARED_LIBS=ON
- cmake --build ./build -- -j $(nproc)
Expand Down
5 changes: 1 addition & 4 deletions tests/fuzz/calcTotalCov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,4 @@ S2N_COV=`grep -Eo '[0-9]*\.[0-9]*\%' s2n_fuzz_coverage.txt | tail -3`
LINE_COV=$(echo $S2N_COV | cut -d' ' -f1)
FUNC_COV=$(echo $S2N_COV | cut -d' ' -f2)
BRANCH_COV=$(echo $S2N_COV | cut -d' ' -f3)
printf "Coverage Report:\n"
printf "Line coverage: %s\n" "$LINE_COV"
printf "Function coverage: %s\n" "$FUNC_COV"
printf "Branch coverage: %s\n" "$BRANCH_COV"
printf "Coverage Report:\nLine coverage: %s\nFunction coverage: %s\nBranch coverage: %s\n" "$LINE_COV" "$FUNC_COV" "$BRANCH_COV"

0 comments on commit bac3ded

Please sign in to comment.