#-----------------------------------------------------------------------------# # 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 \ accessibility2 \ backquoted_qualified_ops \ class \ daf_bug \ deeply_nested \ direct_arg_cyclic1 \ direct_arg_intermod1 \ direct_arg_parent \ dot_separator \ external_unification_pred \ finalise_parent \ g12_fe_bug \ impl_def_literal \ initialise_parent \ mutable_parent \ nested \ nested2 \ nested3 \ nested_intermod_main \ non_word_mutable \ parent \ parent2 \ 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 ; #-----------------------------------------------------------------------------#