From a06ade3e3344e14b1592e6d3f59c3408cc38c79d Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 30 Sep 2024 09:54:37 -0700 Subject: [PATCH 1/2] Bug fix prep.sh, use is_available.sh in Makefiles The prep.sh script printed incorrect messages for skipped checks. The URL of each tool (in the skipped check messages) are now indented. Make use of soup/is_available.sh in the Makefiles. Synced jparse from jparse repo (https://github.com/xexyl/jparse/) with the above changes (to do with the jparse repo). Ran make release to test these changes in macOS. --- CHANGES.md | 17 ++++++ Makefile | 27 +++++----- jparse/.gitignore | 2 + jparse/CHANGES.md | 6 +++ jparse/Makefile | 29 +++++----- jparse/test_jparse/Makefile | 23 ++++---- jparse/test_jparse/prep.sh | 102 +++++++++++++++++++++++++++++++++++- jparse/version.h | 2 +- soup/Makefile | 31 +++++------ soup/oebxergfB.h | 49 ++++++++--------- soup/version.h | 2 +- test_ioccc/Makefile | 29 +++++----- test_ioccc/prep.sh | 18 +++---- 13 files changed, 233 insertions(+), 104 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 3a203fbb..2b3d53f6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,22 @@ # Major changes to the IOCCC entry toolkit +## Release 1.5.21 2024-09-30 + +Bug fix `prep.sh` wrt skipped messages, and indent URL of each tool. + +Make use of `is_available.sh` in the Makefiles. + +Synced `jparse` from [jparse repo](https://github.com/xexyl/jparse/) with the +above changes to do with the jparse repo. + + +## Release 1.5.20 2024-09-29 + +Sync `jparse` from [jparse repo](https://github.com/xexyl/jparse/). This +includes a new JSON file with some details about it as well as some fixes in the +README.md file (newer synopsis of some tools) as well as a couple functions +added. + ## Release 1.5.19 2024-09-27 Add `FOO_BASENAME` to all tools in this repo. This is used in both `-V` option diff --git a/Makefile b/Makefile index cde9c803..deaa4711 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,7 @@ GIT= git GREP= grep INDEPEND= independ INSTALL= install +IS_AVAILABLE= soup/is_available.sh MV= mv PICKY= picky RM= rm @@ -792,8 +793,8 @@ seqcexit: ${ALL_CSRC} dbg/Makefile dyn_array/Makefile jparse/Makefile \ LD_DIR="${LD_DIR}" LD_DIR2="${LD_DIR2}" ${E} ${MAKE} ${MAKE_CD_Q} -C soup $@ C_SPECIAL="${C_SPECIAL}" ${E} ${MAKE} ${MAKE_CD_Q} -C test_ioccc $@ C_SPECIAL="${C_SPECIAL}" - ${Q} if ! type -P ${SEQCEXIT} >/dev/null 2>&1; then \ - echo 'The ${SEQCEXIT} tool could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${SEQCEXIT} >/dev/null 2>&1; then \ + echo 'The ${SEQCEXIT} tool could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${SEQCEXIT} tool is required for the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${SEQCEXIT}:'; 1>&2; \ @@ -819,8 +820,8 @@ picky: ${ALL_SRC} dbg/Makefile dyn_array/Makefile jparse/Makefile \ LD_DIR="${LD_DIR}" LD_DIR2="${LD_DIR2}" ${E} ${MAKE} ${MAKE_CD_Q} -C soup $@ C_SPECIAL="${C_SPECIAL}" ${E} ${MAKE} ${MAKE_CD_Q} -C test_ioccc $@ C_SPECIAL="${C_SPECIAL}" - ${Q} if ! type -P ${PICKY} >/dev/null 2>&1; then \ - echo 'The ${PICKY} tool could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${PICKY} >/dev/null 2>&1; then \ + echo 'The ${PICKY} tool could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${PICKY} tool is required for the $@ rule.' 1>&2; \ echo 1>&2; \ echo 'See the following GitHub repo for ${PICKY}:'; 1>&2; \ @@ -860,8 +861,8 @@ shellcheck: ${SH_FILES} .shellcheckrc dbg/Makefile dyn_array/Makefile jparse/Mak LD_DIR="${LD_DIR}" LD_DIR2="${LD_DIR2}" ${E} ${MAKE} ${MAKE_CD_Q} -C soup $@ C_SPECIAL="${C_SPECIAL}" ${E} ${MAKE} ${MAKE_CD_Q} -C test_ioccc $@ C_SPECIAL="${C_SPECIAL}" - ${Q} if ! type -P ${SHELLCHECK} >/dev/null 2>&1; then \ - echo 'The ${SHELLCHECK} command could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${SHELLCHECK} >/dev/null 2>&1; then \ + echo 'The ${SHELLCHECK} command could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${SHELLCHECK} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${SHELLCHECK}:'; 1>&2; \ @@ -931,7 +932,7 @@ tags: ${ALL_CSRC} ${ALL_HSRC} dbg/Makefile dyn_array/Makefile jparse/Makefile \ ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CTAGS} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CTAGS} >/dev/null 2>&1; then \ echo 'The ${CTAGS} command could not be found.' 1>&2; \ echo 'The ${CTAGS} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ @@ -961,7 +962,7 @@ local_dir_tags: ${ALL_CSRC} ${ALL_HSRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CTAGS} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CTAGS} >/dev/null 2>&1; then \ echo 'The ${CTAGS} command could not be found.' 1>&2; \ echo 'The ${CTAGS} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ @@ -1684,22 +1685,22 @@ depend: ${ALL_CSRC} LD_DIR="${LD_DIR}" LD_DIR2="${LD_DIR2}" ${E} ${MAKE} ${MAKE_CD_Q} -C test_ioccc $@ C_SPECIAL="${C_SPECIAL}" ${E} ${MAKE} ${MAKE_CD_Q} -C soup $@ C_SPECIAL="${C_SPECIAL}" - ${Q} if ! type -P ${INDEPEND} >/dev/null 2>&1; then \ - echo '${OUR_NAME}: The ${INDEPEND} command could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${INDEPEND} >/dev/null 2>&1; then \ + echo '${OUR_NAME}: The ${INDEPEND} command could not be found or is unreliable in your system.' 1>&2; \ echo '${OUR_NAME}: The ${INDEPEND} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${INDEPEND}:'; 1>&2; \ echo ''; 1>&2; \ echo ' https://github.com/lcn2/independ'; 1>&2; \ - elif ! type -P ${SED} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${SED} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${SED} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${SED} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ - elif ! type -P ${GREP} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${GREP} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${GREP} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${GREP} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ - elif ! type -P ${CMP} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${CMP} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${CMP} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${CMP} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ diff --git a/jparse/.gitignore b/jparse/.gitignore index 218baeae..8c0fd907 100644 --- a/jparse/.gitignore +++ b/jparse/.gitignore @@ -7,6 +7,7 @@ build.log .DS_Store ._.DS_Store +/backup /bug-report* /.jsemcgen.*.out /.local.dir.tags @@ -20,6 +21,7 @@ build.log /jparse.lex.h /jparse.tab.c /jparse.tab.h +/jparse_test.log /jprint /jsemtblgen /jstrdecode diff --git a/jparse/CHANGES.md b/jparse/CHANGES.md index 3e46bba2..d2179b7e 100644 --- a/jparse/CHANGES.md +++ b/jparse/CHANGES.md @@ -1,5 +1,11 @@ # Significant changes in the JSON parser repo +## Release 1.0.17 2024-09-30 + +Make use of `test_jparse/is_available.sh` in the Makefiles and in +`test_jparse/prep.sh` script. + + ## Release 1.0.16 2024-09-29 Add a couple functions to `json_utf8.c` for UTF-8 encoding/decoding. These diff --git a/jparse/Makefile b/jparse/Makefile index ff72a9a9..268d800a 100644 --- a/jparse/Makefile +++ b/jparse/Makefile @@ -32,6 +32,7 @@ CTAGS= ctags GREP= grep INDEPEND= independ INSTALL= install +IS_AVAILABLE= test_jparse/is_available.sh MV= mv PICKY= picky RANLIB= ranlib @@ -863,8 +864,8 @@ seqcexit: ${FLEXFILES} ${BISONFILES} ${ALL_CSRC} test_jparse/Makefile ${S} echo ${E} ${MAKE} ${MAKE_CD_Q} -C test_jparse all $@ C_SPECIAL=${C_SPECIAL} \ LD_DIR2="${LD_DIR2}" - ${Q} if ! type -P ${SEQCEXIT} >/dev/null 2>&1; then \ - echo 'The ${SEQCEXIT} tool could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${SEQCEXIT} >/dev/null 2>&1; then \ + echo 'The ${SEQCEXIT} tool could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${SEQCEXIT} tool is required for the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${SEQCEXIT}:'; 1>&2; \ @@ -890,8 +891,8 @@ picky: ${ALL_SRC} test_jparse/Makefile ${S} echo ${E} ${MAKE} ${MAKE_CD_Q} -C test_jparse all $@ C_SPECIAL=${C_SPECIAL} \ LD_DIR2="${LD_DIR2}" - ${Q} if ! type -P ${PICKY} >/dev/null 2>&1; then \ - echo 'The ${PICKY} tool could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${PICKY} >/dev/null 2>&1; then \ + echo 'The ${PICKY} tool could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${PICKY} tool is required for the $@ rule.' 1>&2; \ echo 1>&2; \ echo 'See the following GitHub repo for ${PICKY}:'; 1>&2; \ @@ -928,8 +929,8 @@ shellcheck: ${SH_FILES} .shellcheckrc test_jparse/Makefile ${S} echo ${E} ${MAKE} ${MAKE_CD_Q} -C test_jparse all $@ C_SPECIAL=${C_SPECIAL} \ LD_DIR2="${LD_DIR2}" - ${Q} if ! type -P ${SHELLCHECK} >/dev/null 2>&1; then \ - echo 'The ${SHELLCHECK} command could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${SHELLCHECK} >/dev/null 2>&1; then \ + echo 'The ${SHELLCHECK} command could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${SHELLCHECK} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${SHELLCHECK}:'; 1>&2; \ @@ -958,7 +959,7 @@ check_man: ${ALL_MAN_TARGETS} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CHECKNR} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CHECKNR} >/dev/null 2>&1; then \ echo 'The ${CHECKNR} command could not be found.' 1>&2; \ echo 'The ${CHECKNR} command is required to run the $@ rule.' 1>&2; \ echo ''; 1>&2; \ @@ -1001,7 +1002,7 @@ tags: ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CTAGS} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CTAGS} >/dev/null 2>&1; then \ echo 'The ${CTAGS} command could not be found.' 1>&2; \ echo 'The ${CTAGS} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ @@ -1033,7 +1034,7 @@ local_dir_tags: ${ALL_CSRC} ${ALL_HSRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CTAGS} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CTAGS} >/dev/null 2>&1; then \ echo 'The ${CTAGS} command could not be found.' 1>&2; \ echo 'The ${CTAGS} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ @@ -1220,22 +1221,22 @@ depend: ${ALL_CSRC} LD_DIR2="${LD_DIR2}" ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" - ${Q} if ! type -P ${INDEPEND} >/dev/null 2>&1; then \ - echo '${OUR_NAME}: The ${INDEPEND} command could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${INDEPEND} >/dev/null 2>&1; then \ + echo '${OUR_NAME}: The ${INDEPEND} command could not be found or is unreliable in your system.' 1>&2; \ echo '${OUR_NAME}: The ${INDEPEND} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${INDEPEND}:'; 1>&2; \ echo ''; 1>&2; \ echo ' https://github.com/lcn2/independ'; 1>&2; \ - elif ! type -P ${SED} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${SED} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${SED} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${SED} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ - elif ! type -P ${GREP} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${GREP} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${GREP} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${GREP} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ - elif ! type -P ${CMP} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${CMP} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${CMP} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${CMP} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ diff --git a/jparse/test_jparse/Makefile b/jparse/test_jparse/Makefile index c439e749..a6036737 100644 --- a/jparse/test_jparse/Makefile +++ b/jparse/test_jparse/Makefile @@ -34,6 +34,7 @@ CTAGS= ctags GREP= grep INDEPEND= independ INSTALL= install +IS_AVAILABLE= ./is_available.sh PICKY= picky RM= rm SED= sed @@ -477,8 +478,8 @@ seqcexit: ${ALL_CSRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${SEQCEXIT} >/dev/null 2>&1; then \ - echo 'The ${SEQCEXIT} tool could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${SEQCEXIT} >/dev/null 2>&1; then \ + echo 'The ${SEQCEXIT} tool could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${SEQCEXIT} tool is required for the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${SEQCEXIT}:'; 1>&2; \ @@ -501,8 +502,8 @@ picky: ${ALL_SRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${PICKY} >/dev/null 2>&1; then \ - echo 'The ${PICKY} tool could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${PICKY} >/dev/null 2>&1; then \ + echo 'The ${PICKY} tool could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${PICKY} tool is required for the $@ rule.' 1>&2; \ echo 1>&2; \ echo 'See the following GitHub repo for ${PICKY}:'; 1>&2; \ @@ -537,8 +538,8 @@ shellcheck: ${SH_FILES} .shellcheckrc ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${SHELLCHECK} >/dev/null 2>&1; then \ - echo 'The ${SHELLCHECK} command could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${SHELLCHECK} >/dev/null 2>&1; then \ + echo 'The ${SHELLCHECK} command could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${SHELLCHECK} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${SHELLCHECK}:'; 1>&2; \ @@ -706,22 +707,22 @@ uninstall: depend: ${ALL_CSRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" - ${Q} if ! type -P ${INDEPEND} >/dev/null 2>&1; then \ - echo '${OUR_NAME}: The ${INDEPEND} command could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${INDEPEND} >/dev/null 2>&1; then \ + echo '${OUR_NAME}: The ${INDEPEND} command could not be found or is unreliable in your system.' 1>&2; \ echo '${OUR_NAME}: The ${INDEPEND} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${INDEPEND}:'; 1>&2; \ echo ''; 1>&2; \ echo ' https://github.com/lcn2/independ'; 1>&2; \ - elif ! type -P ${SED} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${SED} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${SED} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${SED} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ - elif ! type -P ${GREP} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${GREP} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${GREP} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${GREP} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ - elif ! type -P ${CMP} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${CMP} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${CMP} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${CMP} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ diff --git a/jparse/test_jparse/prep.sh b/jparse/test_jparse/prep.sh index d0e23cea..8f11d8c0 100755 --- a/jparse/test_jparse/prep.sh +++ b/jparse/test_jparse/prep.sh @@ -18,8 +18,9 @@ # setup # export FAILURE_SUMMARY= +export SKIPPED_SUMMARY= export LOGFILE= -export PREP_VERSION="1.0.2 2024-07-03" +export PREP_VERSION="1.0.3 2024-09-30" export NOTICE_COUNT="0" export USAGE="usage: $0 [-h] [-v level] [-V] [-e] [-o] [-m make] [-M Makefile] [-l logfile] @@ -222,6 +223,94 @@ make_action() { write_echo_n "make_action $CODE $RULE " fi + # if certain rules check for necessary tools and if they do not exist or + # they fail, skip the rule. + if [[ "$RULE" = shellcheck ]]; then + if ! ./test_jparse/is_available.sh shellcheck; then + if [[ -z "$LOGFILE" ]]; then + write_echo + write_echo "=-=-= SKIPPED: $MAKE $RULE =-=-=" + write_echo + else + write_echo "SKIPPED" + fi + SKIPPED_SUMMARY="$SKIPPED_SUMMARY + make_action $CODE $RULE: the shellcheck tool cannot be found or is unreliable on your system. + We cannot use the shellcheck tool. + Please consider installing or updating shellcheck tool from: + + https://github.com/koalaman/shellcheck.net + + or if needed, filing a bug report with those who publish shellcheck. + + Please do NOT file a bug report with us as we do not maintain shellcheck." + + return + fi + elif [[ "$RULE" = picky ]]; then + if ! ./test_jparse/is_available.sh picky; then + if [[ -z "$LOGFILE" ]]; then + write_echo + write_echo "=-=-= SKIPPED: $MAKE $RULE =-=-=" + write_echo + else + write_echo "SKIPPED" + fi + SKIPPED_SUMMARY="$SKIPPED_SUMMARY + make_action $CODE $RULE: the picky tool cannot be found or is unreliable on your system. + We cannot use the picky tool. + Please consider installing or updating picky tool from: + + https://github.com/lcn2/picky.git + + Please do NOT file a bug report with us as we do not maintain picky." + + return + fi + elif [[ "$RULE" = depend ]]; then + if ! ./test_jparse/is_available.sh independ; then + if [[ -z "$LOGFILE" ]]; then + write_echo + write_echo "=-=-= SKIPPED: $MAKE $RULE =-=-=" + write_echo + else + write_echo "SKIPPED" + fi + SKIPPED_SUMMARY="$SKIPPED_SUMMARY + make_action $CODE $RULE: the independ tool cannot be found or is unreliable on your system. + We cannot use the independ tool. + Please consider installing or updating independ tool from: + + https://github.com/lcn2/independ.git + + Please do NOT file a bug report with us as we do not maintain independ." + + + return + fi + elif [[ "$RULE" = seqcexit ]]; then + if ! ./test_jparse/is_available.sh seqcexit; then + if [[ -z "$LOGFILE" ]]; then + write_echo + write_echo "=-=-= SKIPPED: $MAKE $RULE =-=-=" + write_echo + else + write_echo "SKIPPED" + fi + SKIPPED_SUMMARY="$SKIPPED_SUMMARY + make_action $CODE $RULE: the seqcexit tool cannot be found or is unreliable on your system. + We cannot use the seqcexit tool. + Please consider installing or updating seqcexit tool from: + + https://github.com/lcn2/seqcexit.git + + Please do NOT file a bug report with us as we do not maintain seqcexit." + + + return + fi + fi + # perform action # exec_command "$MAKE" -f "$MAKEFILE" "$RULE" @@ -436,6 +525,10 @@ if [[ $EXIT_CODE -eq 0 ]]; then write_echo "jparse_bug_report.sh issued $NOTICE_COUNT notices." fi fi + if [[ -n "$SKIPPED_SUMMARY" ]]; then + write_echo "One or more tests were skipped:" + write_echo "$SKIPPED_SUMMARY" + fi else if [[ $NOTICE_COUNT -gt 0 ]]; then if [[ $NOTICE_COUNT -eq 1 ]]; then @@ -443,7 +536,12 @@ if [[ $EXIT_CODE -eq 0 ]]; then else write_echo "All tests PASSED; $NOTICE_COUNT notices issued." fi - else + fi + if [[ -n "$SKIPPED_SUMMARY" ]]; then + write_echo "One or more tests were skipped:" + write_echo "$SKIPPED_SUMMARY" + fi + if [[ $NOTICE_COUNT -eq 0 && -z "$SKIPPED_SUMMARY" ]]; then write_echo "All tests PASSED." fi fi diff --git a/jparse/version.h b/jparse/version.h index ae061707..524576b5 100644 --- a/jparse/version.h +++ b/jparse/version.h @@ -25,7 +25,7 @@ * * NOTE: this should match the latest Release string in CHANGES.md */ -#define JPARSE_REPO_VERSION "1.0.15 2024-09-29" /* format: major.minor YYYY-MM-DD */ +#define JPARSE_REPO_VERSION "1.0.16 2024-09-30" /* format: major.minor YYYY-MM-DD */ /* * official jparse version diff --git a/soup/Makefile b/soup/Makefile index 191d1957..b72f9450 100644 --- a/soup/Makefile +++ b/soup/Makefile @@ -45,6 +45,7 @@ CTAGS= ctags GREP= grep INDEPEND= independ INSTALL= install +IS_AVAILABLE= ./is_available.sh PICKY= picky RANLIB= ranlib RM= rm @@ -633,8 +634,8 @@ seqcexit: ${ALL_CSRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${SEQCEXIT} >/dev/null 2>&1; then \ - echo 'The ${SEQCEXIT} tool could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${SEQCEXIT} >/dev/null 2>&1; then \ + echo 'The ${SEQCEXIT} tool could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${SEQCEXIT} tool is required for the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${SEQCEXIT}:'; 1>&2; \ @@ -653,8 +654,8 @@ picky: ${ALL_SRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${PICKY} >/dev/null 2>&1; then \ - echo 'The ${PICKY} tool could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${PICKY} >/dev/null 2>&1; then \ + echo 'The ${PICKY} tool could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${PICKY} tool is required for the $@ rule.' 1>&2; \ echo 1>&2; \ echo 'See the following GitHub repo for ${PICKY}:'; 1>&2; \ @@ -687,8 +688,8 @@ shellcheck: ${SH_FILES} .shellcheckrc ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${SHELLCHECK} >/dev/null 2>&1; then \ - echo 'The ${SHELLCHECK} command could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${SHELLCHECK} >/dev/null 2>&1; then \ + echo 'The ${SHELLCHECK} command could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${SHELLCHECK} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${SHELLCHECK}:'; 1>&2; \ @@ -715,7 +716,7 @@ check_man: ${ALL_MAN_TARGETS} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CHECKNR} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CHECKNR} >/dev/null 2>&1; then \ echo 'The ${CHECKNR} command could not be found.' 1>&2; \ echo 'The ${CHECKNR} command is required to run the $@ rule.' 1>&2; \ echo ''; 1>&2; \ @@ -751,7 +752,7 @@ tags: ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CTAGS} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CTAGS} >/dev/null 2>&1; then \ echo 'The ${CTAGS} command could not be found.' 1>&2; \ echo 'The ${CTAGS} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ @@ -781,7 +782,7 @@ local_dir_tags: ${ALL_CSRC} ${ALL_HSRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CTAGS} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CTAGS} >/dev/null 2>&1; then \ echo 'The ${CTAGS} command could not be found.' 1>&2; \ echo 'The ${CTAGS} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ @@ -912,22 +913,22 @@ uninstall: depend: ${ALL_CSRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" - ${Q} if ! type -P ${INDEPEND} >/dev/null 2>&1; then \ - echo '${OUR_NAME}: The ${INDEPEND} command could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${INDEPEND} >/dev/null 2>&1; then \ + echo '${OUR_NAME}: The ${INDEPEND} command could not be found or is unreliable in your system.' 1>&2; \ echo '${OUR_NAME}: The ${INDEPEND} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${INDEPEND}:'; 1>&2; \ echo ''; 1>&2; \ echo ' https://github.com/lcn2/independ'; 1>&2; \ - elif ! type -P ${SED} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${SED} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${SED} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${SED} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ - elif ! type -P ${GREP} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${GREP} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${GREP} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${GREP} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ - elif ! type -P ${CMP} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${CMP} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${CMP} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${CMP} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ @@ -964,7 +965,7 @@ chk_validate.o: ../dbg/dbg.h ../dyn_array/dyn_array.h ../jparse/jparse.h \ ../jparse/jparse.tab.h ../jparse/json_parse.h ../jparse/json_sem.h \ ../jparse/json_utf8.h ../jparse/json_util.h ../jparse/util.h \ ../jparse/version.h chk_sem_auth.h chk_sem_info.h chk_validate.c \ - chk_validate.h entry_time.h entry_util.h location.h + chk_validate.h entry_time.h entry_util.h location.h version.h entry_time.o: ../dbg/dbg.h ../dyn_array/dyn_array.h ../jparse/jparse.h \ ../jparse/jparse.tab.h ../jparse/json_parse.h ../jparse/json_sem.h \ ../jparse/json_utf8.h ../jparse/json_util.h ../jparse/util.h \ diff --git a/soup/oebxergfB.h b/soup/oebxergfB.h index 2ad99422..665ad28c 100644 --- a/soup/oebxergfB.h +++ b/soup/oebxergfB.h @@ -4920,46 +4920,47 @@ static char const *oebxergfB[] = " ueabytt Luflsasob Vuedsxa bnwe msq iqab wzrwfb bnw\n" " xslab!\n" , -" Mwyt I srwlybsla byktw\n" +" Tnw MOGY I srwlybsla byktw\n" "\n" " I Drwlybsl Rwaflurbuse\n" " ---------- -----------\n" " () [] Tnw plsqr srwlybsla. Elsplyiiwla dse'b tuhw tylpw plsqra\n" -" as xw nyvw y xym bs uastybw sqlawtvwa yxym olsi msq.\n" -" <- << <<= -> = Tnw yllsx srwlybsla. Sawd bs ansx rwsrtw bnw cqufhwab xym\n" -" < > <= >= sqb.\n" -" . Tnw oqtt absr srwlybsl ('Ubsr xnyb msq'lw dsuep; C VCYY byhw\n" -" fylw so ub.').\n" +" as xw nyvw y xym bs uastybw sqlawtvwa GVGZ HMDL ZDS.\n" +" < <= > >= -> Tnw yllsx srwlybsla. Sawd bs ansx rwsrtw bnw PSCIBOUT VGZ\n" +" << <<= >> >>= DST.\n" +" . Tnw oqtt absr srwlybsl ('UTDE xnyb ZDS'MO dsuep; C VCYY byhw\n" +" fylw so ub!').\n" " ! Tnw FDT srwlybsl ('Fs, C'i FDT dsuep bnyb!').\n" " ~ Isirtwiweb srwlybsl. Seqawd; xw xslh kwab km sqlawtvwa.\n" " ++ Etqa rtqa srwlybsl. Sawd xnwe xw xyeb bs ydd bxufw ue sew sr.\n" " - Fwpybw srwlybsl. Sedswa y 'ouz' asiwsew wtaw gqab iydw.\n" -" -- Lueqa iueqa srwlybsl. Yuhw -, setm dswa bxs buiwa ya iqfn.\n" +" -- Lueqa iueqa srwlybsl. Yuhw - kqb ub dswa bxs buiwa ya iqfn.\n" " (bmrw) Tmrwfyab srwlybsl; qeqawd. Vw'lw bnw setm fyab iwikwla nwlw.\n" -" * Vw'lw abyla so sql ansx yed xw nyvw xyma bs ansx ub!\n" +" * Vw'lw UTGMU so DSM ansx yed xw nyvw xyma bs ansx ub!\n" " & Gddlwaa so srwlybsl. Seqawd; xw dse'b tuhw fsiryem.\n" -" aujwso Seqawd. Usiw rlsplyiiwla ylw oyb olsi bss iyem dsqpneqba\n" +" aujwso Seqawd; asiw rlsplyiiwla ylw HGT olsi TDD LGFZ RDSWKFSTU\n" " yed bnwm dse'b tuhw bs dlyx ybbwebuse bs bnw oyfb.\n" -" / Ruvuauvw srwlybsl. Seqawd.\n" -" % Ewl fweb srwlybsl. Vw'lw 311 rwl fweb lupnb, msq'lw esb; xw\n" +" / Ruvuauvw srwlybsl. Seqawd: xw xslh ytsew, bspwbnwl.\n" +" % Ewl fweb srwlybsl. VO'MO 311 rwl fweb lupnb, msq'lw esb; xw\n" " tuhw bs ansx ub.\n" " + Etqa, xw'lw 311% lupnb yed msq'lw esb!\n" -" = Cb ua esx srwlybsl: z = 5; ('Ca z 5? Cb ua esx!').\n" -" == Ocqyta wcqyta: gqab bs kw aqlw xw hesx uo bxs bnuepa ylw\n" -" wcqyt, xw ablwaa bwab ub.\n" -" != Fsb wcqyta. Seqawd; xw nyvw islw skafqlw xyma bs ds bnua.\n" -" += -= /= *= Gdd, aqkblyfb, duvudw sl iqtburtm yaaupeiweb. Sawd xnwe\n" -" xw'lw bss tyjm bs bmrw y eyiw sl wzrlwaause islw bnye sefw.\n" -" ^ Tnw XDM srwlybsl. Sawd bs XDM rwsrtw/bnuepa xubn bnwiawtvwa\n" -" as bnwm xse'b kw y oqlbnwl equayefw.\n" -" | Eurw srwlybsl. De bnw sew nyed ub fye kw qawd bs nub yeesmuep\n" -" rwsrtw svwl bnw nwyd yed se bnw sbnwl nyed ub fye kw qawd bs\n" +" = Cb ua esx srwlybsl: uo (z = 5) {} ('Ca z 5? Cb ua esx!').\n" +" == Ocqytubm bwab: bs kw aqlw bxs bnuepa ylw wcqyt, xw ablwaa bwab ub.\n" +" Nwaudwa, xw tsvw fseoqauep ewxkuwa. Uww bnw 'ub ua esx' srwlybsl.\n" +" != Fsb wcqyta. Seqawd; xw nyvw sbnwl, LDMO DNUISMO xyma bs ds bnua.\n" +" += -= /= *= Gdd, aqkblyfb, duvudw sl iqtburtm yaaupeiweb. Vw'lw YGJZ\n" +" yed dse'b tuhw bs bmrw eyiwa/wzrlwaausea islw bnye sefw.\n" +" ^ Tnw XDM srwlybsl; qawd bs XDM rwsrtw/bnuepa xubn bnwiawtvwa\n" +" as bnwm xse'b kw y oqlbnwl equayefw. Zsq'vw kwwe xylewd.\n" +" | Eurw srwlybsl: se bnw sew nyed ub fye kw qawd bs nub yeesmuep\n" +" rwsrtw svwl bnw nwyd, yed se bnw sbnwl nyed ub fye kw qawd bs\n" " nub yeesmuep rwsrtw svwl bnw nwyd.\n" -" || && DM yed DM sl GFR yed GFR. Yuhw C xya aymuep, xw'lw tyjm.\n" +" || && DM yed DM yed GFR yed GFR. Yuhw C xya aymuep, xw'lw tyjm as\n" +" xw bwed bs hutt bxs srwlybusea xubn sew srwlybsl.\n" " ?: Cedwfuauvw srwlybsl. Sawd xnwe xw'lw qeaqlw so asiwbnuep.\n" " , Isiiy srwlybsl. Vnwe xw bnueh rwsrtw iupnb esb qedwlabyed sql\n" -" rwlowfbtm qedwlabyedyktw fsdw xw bnlsx ue ye wzbly fsiiy sl\n" -" bxs, gqab tuhw asiw xlubwla ds.\n" +" EOMHOITYZ SFROMUTGFRGNYO fsdw xw bnlsx ue ye wzbly fsiiy sl\n" +" bxs, ASUT YCBO UDLO VMCTOMU ds.\n" , NULL }; diff --git a/soup/version.h b/soup/version.h index 811d1839..225a6529 100644 --- a/soup/version.h +++ b/soup/version.h @@ -66,7 +66,7 @@ * * NOTE: This should match the latest Release string in CHANGES.md */ -#define MKIOCCCENTRY_REPO_VERSION "1.5.19 2024-09-25" /* special release format: major.minor.patch YYYY-MM-DD */ +#define MKIOCCCENTRY_REPO_VERSION "1.5.21 2024-09-30" /* special release format: major.minor.patch YYYY-MM-DD */ /* * official soup version (aka recipe :-) ) diff --git a/test_ioccc/Makefile b/test_ioccc/Makefile index f0b30b11..291af5a3 100644 --- a/test_ioccc/Makefile +++ b/test_ioccc/Makefile @@ -43,6 +43,7 @@ CMP= cmp GREP= grep INDEPEND= independ INSTALL= install +IS_AVAILABLE= ../soup/is_available.sh PICKY= picky RM= rm SED= sed @@ -446,8 +447,8 @@ seqcexit: ${ALL_CSRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${SEQCEXIT} >/dev/null 2>&1; then \ - echo 'The ${SEQCEXIT} tool could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${SEQCEXIT} >/dev/null 2>&1; then \ + echo 'The ${SEQCEXIT} tool could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${SEQCEXIT} tool is required for the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${SEQCEXIT}:'; 1>&2; \ @@ -466,8 +467,8 @@ picky: ${ALL_SRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${PICKY} >/dev/null 2>&1; then \ - echo 'The ${PICKY} tool could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${PICKY} >/dev/null 2>&1; then \ + echo 'The ${PICKY} tool could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${PICKY} tool is required for the $@ rule.' 1>&2; \ echo 1>&2; \ echo 'See the following GitHub repo for ${PICKY}:'; 1>&2; \ @@ -500,8 +501,8 @@ shellcheck: ${SH_FILES} .shellcheckrc ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${SHELLCHECK} >/dev/null 2>&1; then \ - echo 'The ${SHELLCHECK} command could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${SHELLCHECK} >/dev/null 2>&1; then \ + echo 'The ${SHELLCHECK} command could not be found or is unreliable in your system.' 1>&2; \ echo 'The ${SHELLCHECK} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${SHELLCHECK}:'; 1>&2; \ @@ -528,7 +529,7 @@ check_man: ${ALL_MAN_TARGETS} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CHECKNR} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CHECKNR} >/dev/null 2>&1; then \ echo 'The ${CHECKNR} command could not be found.' 1>&2; \ echo 'The ${CHECKNR} command is required to run the $@ rule.' 1>&2; \ echo ''; 1>&2; \ @@ -564,7 +565,7 @@ tags: ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CTAGS} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CTAGS} >/dev/null 2>&1; then \ echo 'The ${CTAGS} command could not be found.' 1>&2; \ echo 'The ${CTAGS} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ @@ -594,7 +595,7 @@ local_dir_tags: ${ALL_CSRC} ${ALL_HSRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" ${S} echo - ${Q} if ! type -P ${CTAGS} >/dev/null 2>&1; then \ + ${Q} if ! ${IS_AVAILABLE} ${CTAGS} >/dev/null 2>&1; then \ echo 'The ${CTAGS} command could not be found.' 1>&2; \ echo 'The ${CTAGS} command is required to run the $@ rule.'; 1>&2; \ echo ''; 1>&2; \ @@ -709,22 +710,22 @@ uninstall: depend: ${ALL_CSRC} ${S} echo ${S} echo "${OUR_NAME}: make $@ starting" - ${Q} if ! type -P ${INDEPEND} >/dev/null 2>&1; then \ - echo '${OUR_NAME}: The ${INDEPEND} command could not be found.' 1>&2; \ + ${Q} if ! ${IS_AVAILABLE} ${INDEPEND} >/dev/null 2>&1; then \ + echo '${OUR_NAME}: The ${INDEPEND} command could not be found or is unreliable in your system.' 1>&2; \ echo '${OUR_NAME}: The ${INDEPEND} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ echo 'See the following GitHub repo for ${INDEPEND}:'; 1>&2; \ echo ''; 1>&2; \ echo ' https://github.com/lcn2/independ'; 1>&2; \ - elif ! type -P ${SED} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${SED} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${SED} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${SED} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ - elif ! type -P ${GREP} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${GREP} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${GREP} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${GREP} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ - elif ! type -P ${CMP} >/dev/null 2>&1; then \ + elif ! ${IS_AVAILABLE} ${CMP} >/dev/null 2>&1; then \ echo '${OUR_NAME}: The ${CMP} command could not be found.' 1>&2; \ echo '${OUR_NAME}: The ${CMP} command is required to run the $@ rule'; 1>&2; \ echo ''; 1>&2; \ diff --git a/test_ioccc/prep.sh b/test_ioccc/prep.sh index 283114c4..546924a9 100755 --- a/test_ioccc/prep.sh +++ b/test_ioccc/prep.sh @@ -21,7 +21,7 @@ export FAILURE_SUMMARY= export SKIPPED_SUMMARY= export LOGFILE= -export PREP_VERSION="1.0.2 2024-07-03" +export PREP_VERSION="1.0.3 2024-09-30" export NOTICE_COUNT="0" export USAGE="usage: $0 [-h] [-v level] [-V] [-e] [-o] [-m make] [-M Makefile] [-l logfile] @@ -236,11 +236,11 @@ make_action() { write_echo "SKIPPED" fi SKIPPED_SUMMARY="$SKIPPED_SUMMARY - make_action $EXIT_CODE: the shellcheck tool cannot be found or is unreliable on your system. + make_action $CODE $RULE: the shellcheck tool cannot be found or is unreliable on your system. We cannot use the shellcheck tool. Please consider installing or updating shellcheck tool from: - https://github.com/koalaman/shellcheck.net + https://github.com/koalaman/shellcheck.net or if needed, filing a bug report with those who publish shellcheck. @@ -258,11 +258,11 @@ make_action() { write_echo "SKIPPED" fi SKIPPED_SUMMARY="$SKIPPED_SUMMARY - make_action $EXIT_CODE: the picky tool cannot be found or is unreliable on your system. + make_action $CODE $RULE: the picky tool cannot be found or is unreliable on your system. We cannot use the picky tool. Please consider installing or updating picky tool from: - https://github.com/lcn2/picky.git + https://github.com/lcn2/picky.git Please do NOT file a bug report with us as the IOCCC does not maintain picky." @@ -278,11 +278,11 @@ make_action() { write_echo "SKIPPED" fi SKIPPED_SUMMARY="$SKIPPED_SUMMARY - make_action $EXIT_CODE: the independ tool cannot be found or is unreliable on your system. + make_action $CODE $RULE: the independ tool cannot be found or is unreliable on your system. We cannot use the independ tool. Please consider installing or updating independ tool from: - https://github.com/lcn2/independ.git + https://github.com/lcn2/independ.git Please do NOT file a bug report with us as the IOCCC does not maintain independ." @@ -299,11 +299,11 @@ make_action() { write_echo "SKIPPED" fi SKIPPED_SUMMARY="$SKIPPED_SUMMARY - make_action $EXIT_CODE: the seqcexit tool cannot be found or is unreliable on your system. + make_action $CODE $RULE: the seqcexit tool cannot be found or is unreliable on your system. We cannot use the seqcexit tool. Please consider installing or updating seqcexit tool from: - https://github.com/lcn2/seqcexit.git + https://github.com/lcn2/seqcexit.git Please do NOT file a bug report with us as the IOCCC does not maintain seqcexit." From b003bd36e903aa60c32168629b753461c6329e70 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:24:44 -0700 Subject: [PATCH 2/2] Remove 'render: markdown' from bug_report.yml This can cause output issues in the post of bug reports. --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 3d5e56d2..fd1933b5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -40,7 +40,6 @@ body: - OS: - Device: - Compiler: - render: markdown validations: required: true