Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad typo fix in prep.sh, improve test workflow #1010

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,7 @@ jobs:
run: make slow_release
- name: make clobber all test
run: make clobber all test
- name: make bug_report
run: make bug_report
- name: make clobber
run: make clobber
8 changes: 4 additions & 4 deletions test_ioccc/prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -504,11 +504,11 @@ make_action 31 test

# If we have a logfile, count the number of Notice: messages in the logfile
#
LOFILE_NOTICE_COUNT=0
LOGFILE_NOTICE_COUNT=0
export NOTICE_COUNT
if [[ -n "$LOGFILE" ]]; then
LOFILE_NOTICE_COUNT="$(grep -cE "[[:space:]]+Notice:[[:space:]]" "$LOGFILE")"
if [[ $LOFILE_NOTICE_COUNT -gt 0 ]]; then
LOGFILE_NOTICE_COUNT="$(grep -cE "[[:space:]]+Notice:[[:space:]]" "$LOGFILE")"
if [[ $LOGFILE_NOTICE_COUNT -gt 0 ]]; then
write_logfile
write_logfile "=-=-= Summary of prep.sh notices follow:"
write_logfile
Expand Down Expand Up @@ -541,7 +541,7 @@ fi

# Add any logfile notice count to the bug report log notice count.
#
((NOTICE_COUNT=NOTICE_COUNT+LOFILE_NOTICE_COUNT))
((NOTICE_COUNT=NOTICE_COUNT+LOGFILE_NOTICE_COUNT))

if [[ $EXIT_CODE -eq 0 ]]; then
if [[ -z "$LOGFILE" ]]; then
Expand Down