mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-15 22:03:26 +00:00
A long time ago, test directories such as hard_coded had subdirectories
such as hard_coded/typeclasses. These have since been flattened out
(e.g. hard_coded/typeclasses is now just typeclasses), but there were
still remnants of the old approach. This diff deletes those remnants.
tests/*/Mmakefile:
Delete the TESTS_DIR and the SUBDIRS mmake variables; TESTS_DIR
was always set to "..", and SUBDIRS to the empty string.
Delete any references to the make variable NOT_WORKING, since
it is never used.
tests/Mmake.common:
Document that Mmakefiles in test directories don't have to set
TESTS_DIR and SUBDIRS anymore. Fix the formatting of the documentation
of the make variables they do still have to set.
Delete the targets and actions for handling subdirectories of
test directories, since there aren't any.
tests/Mmakefile:
Simplify some code.
54 lines
935 B
Makefile
54 lines
935 B
Makefile
#-----------------------------------------------------------------------------#
|
|
# vim: ts=8 sw=8 noexpandtab ft=make
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
THIS_DIR=tests
|
|
PROGS=
|
|
TESTS=
|
|
|
|
# If you modify this, modify all_test_dirs in tools/bootcheck as well.
|
|
SUBDIRS = \
|
|
accumulator \
|
|
analysis \
|
|
analysis_ctgc \
|
|
analysis_excp \
|
|
analysis_external \
|
|
analysis_sharing \
|
|
analysis_table \
|
|
analysis_trail \
|
|
analysis_unused_args \
|
|
benchmarks \
|
|
debugger \
|
|
declarative_debugger \
|
|
dppd \
|
|
exceptions \
|
|
feedback \
|
|
general \
|
|
grade_subdirs \
|
|
hard_coded \
|
|
invalid \
|
|
invalid_make_int \
|
|
invalid_purity \
|
|
invalid_submodules \
|
|
misc_tests \
|
|
mmc_make \
|
|
par_conj \
|
|
purity \
|
|
recompilation \
|
|
string_format \
|
|
structure_reuse \
|
|
submodules \
|
|
tabling \
|
|
term \
|
|
trailing \
|
|
typeclasses \
|
|
valid \
|
|
valid_make_int \
|
|
valid_seq \
|
|
warnings
|
|
|
|
NOT_YET_READY_SUBDIRS = \
|
|
stm
|
|
|
|
include Mmake.common
|