From a379463919f0a454506354e9e2acb2c7834d34b2 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Wed, 3 Jul 2024 11:50:09 -0700 Subject: [PATCH] add make test to top level Makefile --- Makefile | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 63476b637..513663502 100644 --- a/Makefile +++ b/Makefile @@ -241,7 +241,7 @@ indent.c: # simple want to examine, run / test winning IOCCC entries. .PHONY: help genpath genfilelist verify_entry_files gen_authors gen_location gen_years \ - find_missing_links entry_index gen_top_html thanks gen_other_html quick_entry_index \ + find_missing_links test entry_index gen_top_html thanks gen_other_html quick_entry_index \ gen_year_index quick_www www \ untar_entry_tarball untar_year_tarball \ form_entry_tarball form_year_tarball tar \ @@ -292,6 +292,8 @@ help: @echo 'make quick_entry_index - build winner index.html files that might be out of date' @echo 'make find_missing_links - find markdown links to missing local files' @echo + @echo 'make test - a summary of mostly harmless tests' + @echo @echo '# Rules for building specific web pages - a subset of rules mentioned above:' @echo @echo 'make thanks - generqte thanks-for-help.html' @@ -471,6 +473,24 @@ find_missing_links: ${FIND_MISSING_LINKS} -v 1 @echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-=' +# mostly harmless tests +# +test: + @echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-=' + @echo '=-=-=-=-= IOCCC begin make clobber =-=-=-=-=' + @echo '... hiding verbose output on stdout ...' + @${MAKE} clobber >/dev/null + @echo '=-=-=-=-= IOCCC complete make clobber =-=-=-=-=' + @${MAKE} tab_check + @echo '=-=-=-=-= IOCCC begin make genpath =-=-=-=-=' + @echo '... hiding verbose output on stdout ...' + @${MAKE} genpath >/dev/null + @echo '=-=-=-=-= IOCCC complete make genpath =-=-=-=-=' + ${MAKE} genfilelist + ${MAKE} verify_entry_files + ${MAKE} find_missing_links + @echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-=' + ########################################################################### # Rules for building specific web pages - a subset of rules mentioned above