mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-24 05:43:53 +00:00
tests/declarative_debugger/*.m:
tests/exceptions/*.m:
tests/general/*.m:
tests/grade_subdirs/*.m:
tests/purity/*.m:
tests/submodules/*.m:
tests/typeclasses/*.m:
Update programming style.
tests/declarative_debugger/*.inp:
Update line numbers in breakpoint commands.
tests/declarative_debugger/*.exp:
Update expected line numbers.
tests/exceptions/Mercury.options:
tests/general/Mercury.options:
Disable some warnings that are irrelevant to the test.
38 lines
1.8 KiB
Plaintext
38 lines
1.8 KiB
Plaintext
# mode_inf, mode_inf_bug and mode_inference_reorder need to be compiled
|
|
# with `--infer-all'.
|
|
MCFLAGS-mode_inf = --infer-all
|
|
MCFLAGS-mode_inf_bug = --infer-all
|
|
MCFLAGS-mode_inference_reorder = --infer-all
|
|
|
|
MCFLAGS-ho_spec_branch_bug = --optimize-higher-order
|
|
|
|
# The intermod_type test is a regression test for a bug that occurred only
|
|
# when intermodule optimization was enabled.
|
|
MCFLAGS-intermod_type = --intermodule-optimization
|
|
MCFLAGS-intermod_type2 = --intermodule-optimization
|
|
|
|
# In grade `none' with options `-O1 --opt-space' on kryten
|
|
# (a sparc-sun-solaris2.5 system), string_test needs to be linked
|
|
# with `--no-strip', otherwise it gets a seg fault.
|
|
# The test case ../hard_coded/mode_choice suffers from a similar problem.
|
|
# This is probably a bug in one of the underlying tools (e.g. the Solaris
|
|
# linker) rather than a bug in Mercury, and since it is goes away when you
|
|
# compile with debugging information, it is very difficult to debug.
|
|
# It is much easier to just work around it this way rather than
|
|
# tracking it down.
|
|
MLFLAGS-string_test = --no-strip
|
|
|
|
# If the compiler is built in a deep profiling grade then attempting to
|
|
# compile these tests with `--warn-known-bad-format-call' will abort since the
|
|
# code that implements that check catches an exception. The deep profiler
|
|
# cannot currently handle code that catches exceptions.
|
|
# Also, it's not worth doing the check for these test cases anyway since
|
|
# the entire point of them is to check that string.format aborts when
|
|
# passed an invalid format string.
|
|
#
|
|
MCFLAGS-string_format_test_2 = --no-warn-known-bad-format-calls
|
|
MCFLAGS-string_format_test_3 = --no-warn-known-bad-format-calls
|
|
|
|
MCFLAGS-unreachable = --no-warn-det-decls-too-lax
|
|
MCFLAGS-unused_arg_determinism = --no-warn-det-decls-too-lax
|