Files
Zoltan Somogyi 77d6741844 Avoid warnings from make.
tests/analysis/Mmakefile:
tests/analysis_ctgc/Mmakefile:
tests/analysis_excp/Mmakefile:
tests/analysis_external/Mmakefile:
tests/analysis_sharing/Mmakefile:
tests/analysis_table/Mmakefile:
tests/analysis_trail/Mmakefile:
tests/analysis_unused_args/Mmakefile:
tests/feedback/Mmakefile:
    All these files include tests/Mmake.common, whose documentation says
    that all Mmakefiles including it should define the PROGS make variable.
    These files did not, which led to annoying diagnostics from make.
    This diff adds the missing definitions.

tests/invalid/Mmakefile:
    Delete a reference to a variable whose definition was deleted in June.
    (The one test whose name its value contained was moved into
    the value of another, similar variable.)

tests/Mmake.common:
    Stop defining RUN_RECOMPILATION_TESTS, because it has not been used
    since 2021.

    Fix two typos.

tests/recompilation/Mmakefile:
    Delete the only remaining mention of RUN_RECOMPILATION_TESTS,
    which is in an unused target.
2024-12-09 04:48:58 +11:00

36 lines
976 B
Makefile

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab ft=make
#-----------------------------------------------------------------------------#
TESTS_DIR = ..
THIS_DIR = analysis_unused_args
MAYBE_J1 = -j1
# Delete options which are incompatible with --intermodule-analysis.
# These are currently set for nightly tests.
override EXTRA_MCFLAGS := $(patsubst --intermodule-opt%,,$(EXTRA_MCFLAGS))
override EXTRA_MCFLAGS := $(patsubst --transitive-%,,$(EXTRA_MCFLAGS))
#-----------------------------------------------------------------------------#
ifdef WORKSPACE_HAS_SUBDIRS
PROGS = ua_m1
else
PROGS =
endif
TESTS = $(sort $(PROGS:%=%-nodepend))
include ../Mmake.common
ua_m1.runtest:
MC=$(MC) ./unused_args_runtest.sh
realclean_local: realclean_analysis_unused_args
realclean_analysis_unused_args:
$(RM) ua_m1.m
$(RM) -r Mercury
#-----------------------------------------------------------------------------#