Files
mercury/tests/valid_seq/Mmakefile
Zoltan Somogyi d710c436f0 Fix quoting of attributes in type defns.
This fixes Mantis bug #545.

compiler/parse_tree_out.m:
    Put brackets around functor names in "where direct_arg is" attributes.

compiler/mercury_to_mercury.m:
    Provide a function for doing that.

tests/valid_seq/xml_event_read.m:
tests/valid_seq/xml_event_read_helper.m:
    A slightly modified version of the Mantis test case.

tests/valid_seq/Mmakefile:
tests/valid_seq/Mercury.options:
    Enable the new test case, and compile it with intermodule optimization
    to (try to) tickle the bug.
2022-02-09 19:46:05 +11:00

98 lines
1.9 KiB
Makefile

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab ft=make
#-----------------------------------------------------------------------------#
TESTS_DIR = ..
THIS_DIR = valid_seq
MAYBE_J1 = -j1
#-----------------------------------------------------------------------------#
# Please keep these lists sorted.
# The documentation of what tests each list should contain (what little
# there is of it) is in ../valid/Mmake.valid.common.
AGC_PROGS =
TRAIL_PROGS =
TYPECLASS_PROGS = \
func_class \
tc_map_lookup
C_PROGS =
C_INTERFACE_PROGS = \
intermod_pragma_import \
test_xmlreader
SOLVER_PROGS =
DEEP_PROF_CAPABLE_PROGS =
LLDS_PROGS =
TABLE_PROGS =
PAR_CONJ_PROGS =
CTGC_PROGS =
CONSTRAINT_TYPECHECK_PROGS = \
ambig_high_level \
ambig_pred
NON_DECLDEBUG_PROGS =
OTHER_PROGS = \
bug100 \
exported_foreign_type \
foreign_du_field \
func_int_bug_main \
int_impl_imports \
intermod_bug_nested \
intermod_char \
intermod_dcg_bug \
intermod_impure \
intermod_lambda \
intermod_nested \
intermod_nested_module \
intermod_nested_module_bug \
intermod_nested_uniq \
intermod_quote \
intermod_record \
intermod_test \
intermod_type_spec \
intermod_typeclass \
intermod_typeclass_exist \
intermod_ua_type_spec \
intermod_user_equality \
intermod_user_equality_nested \
intermod_user_sharing \
module_a \
module_b \
module_c \
module_d \
module_e \
nested_mod_type_bug \
nested_module_bug \
opt_det_warn \
parsing_bug_main \
transitive_instance \
xml_event_read
# XXX The following tests are not valid under the current Mercury
# language rules:
#
# constraint_proof_bug
# XXX mmake should automatically handle these two dependencies.
$(dates_subdir)intermod_nested_module2.date: \
$(date0s_subdir)intermod_nested_module2.date0
$(dates_subdir)intermod_user_equality_nested2.date: \
$(date0s_subdir)intermod_user_equality_nested2.date0
include ../valid/Mmake.valid.common
clean_local: