Files
mercury/tests/submodules/Mmakefile
Zoltan Somogyi eb6617c175 Rename X's aux modules as X_helper_N in submodules.
tests/submodules/*.m:
    Rename modules as mentioned above.

    Indent nested submodules to make them stand out.

    Group foreign_procs by what predicate they implement, not by
    their implementation language.

tests/submodules/*.m:
tests/submodules/*.err_exp:
tests/submodules/Mmakefile:
tests/submodules/Mercury.options:
    Update all references to the moved modules.
2023-06-19 22:16:36 +02:00

63 lines
1.5 KiB
Makefile

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab ft=make
#-----------------------------------------------------------------------------#
#
# This directory contains test cases for sub-modules,
# including both nested modules and separate sub-modules.
#
#-----------------------------------------------------------------------------#
TESTS_DIR = ..
THIS_DIR = submodules
MAYBE_J1 = -j1
# Currently these test cases do not reliably pass if you use parallel make.
#-----------------------------------------------------------------------------#
SUB_MODULE_PROGS = \
accessibility_t1 \
accessibility_t2 \
backquoted_qualified_ops \
class \
daf_bug \
deeply_nested \
direct_arg_cyclic \
direct_arg_intermod \
direct_arg_parent \
dot_separator \
external_unification_pred \
finalise_parent \
g12_fe_bug \
impl_def_literal \
initialise_parent \
mutable_parent \
nested_t1 \
nested_t2 \
nested_t3 \
nested_intermod \
non_word_mutable \
parent_t1 \
parent_t2 \
sm_exp_bug \
use_submodule
# Solver types only work in C grades.
ifeq "$(filter csharp% java%,$(GRADE))" ""
SOLVER_PROGS = \
ts
else
SOLVER_PROGS =
endif
PROGS = $(SUB_MODULE_PROGS) $(SOLVER_PROGS)
TESTS = $(sort $(PROGS))
include ../Mmake.common
# Module-specific options should go in Mercury.options so they can be found
# by `mmc --make'.
include Mercury.options
%.runtest: %.res ;
#-----------------------------------------------------------------------------#