Skip to content

Commit

Permalink
suppress noisy output
Browse files Browse the repository at this point in the history
  • Loading branch information
jouho committed Dec 11, 2024
1 parent 5b7a522 commit 78d03c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion codebuild/bin/fuzz_corpus_download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ for FUZZ_TEST in tests/fuzz/*.c; do
# If the file is not found, `aws s3 ls` returns a non-zero exit code.
if aws s3 ls "s3://s2n-tls-fuzz-corpus/${TEST_NAME}/corpus.zip" > /dev/null 2>&1; then
aws s3 cp "s3://s2n-tls-fuzz-corpus/${TEST_NAME}/corpus.zip" "${TEMP_CORPUS_DIR}/corpus.zip"
unzip -o "${TEMP_CORPUS_DIR}/corpus.zip" -d "${TEMP_CORPUS_DIR}"
unzip -o "${TEMP_CORPUS_DIR}/corpus.zip" -d "${TEMP_CORPUS_DIR}" > /dev/null 2>&1
else
printf "corpus.zip not found for ${TEST_NAME}"
fi
Expand Down
2 changes: 1 addition & 1 deletion codebuild/bin/fuzz_corpus_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ for FUZZ_TEST in tests/fuzz/*.c; do

# Store generated corpus files in the S3 bucket.
printf "Zipping corpus files...\n"
zip -r ./tests/fuzz/corpus/${TEST_NAME}.zip ./tests/fuzz/corpus/${TEST_NAME}/
zip -r ./tests/fuzz/corpus/${TEST_NAME}.zip ./tests/fuzz/corpus/${TEST_NAME}/ > /dev/null 2>&1

printf "Uploading zipped corpus file to S3 bucket...\n"
aws s3 cp ./tests/fuzz/corpus/${TEST_NAME}.zip s3://s2n-tls-fuzz-corpus/${TEST_NAME}/corpus.zip
Expand Down
2 changes: 1 addition & 1 deletion codebuild/spec/buildspec_fuzz_scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ phases:
LLVM_PROFILE_FILE="./profiles/${TEST_NAME}/${TEST_NAME}.%p.profraw" \
cmake --build build/ --target test -- ARGS="-L fuzz --output-on-failure -j $(nproc) --timeout 28800"
- ./codebuild/bin/fuzz_corpus_upload.sh
- ./codebuild/bin/generate_fuzz_coverage.sh
- ./codebuild/bin/fuzz_coverage_report.sh

artifacts:
# upload all files in the fuzz_coverage_report directory
Expand Down

0 comments on commit 78d03c7

Please sign in to comment.