Commit Graph

4 Commits

Author SHA1 Message Date
Zoltan Somogyi
ecb5e4a9e6 Update the style of many test cases.
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.
2021-07-25 23:26:17 +10:00
Zoltan Somogyi
33eb3028f5 Clean up the tests in half the test directories.
tests/accumulator/*.m:
tests/analysis_*/*.m:
tests/benchmarks*/*.m:
tests/debugger*/*.{m,exp,inp}:
tests/declarative_debugger*/*.{m,exp,inp}:
tests/dppd*/*.m:
tests/exceptions*/*.m:
tests/general*/*.m:
tests/grade_subdirs*/*.m:
tests/hard_coded*/*.m:
    Make these tests use four-space indentation, and ensure that
    each module is imported on its own line. (I intend to use the latter
    to figure out which subdirectories' tests can be executed in parallel.)

    These changes usually move code to different lines. For the debugger tests,
    specify the new line numbers in .inp files and expect them in .exp files.
2015-02-14 20:14:03 +11:00
Fergus Henderson
19dab51e85 Put the correct module name in the `:- module' declaration,
Estimated hours taken: 0.25

tests/general/double_error2.m:
tests/hard_coded/eqv_type_bug.m:
	Put the correct module name in the `:- module' declaration,
	to avoid an error from `mmc --generate-dependencies'.
1998-06-16 03:11:36 +00:00
Thomas Conway
350bd3b876 a trickier test taken from dmo's gfx project which the compiler
Estimated hours taken: 0.5

tests/general/double_error2.{exp,m}:
	a trickier test taken from dmo's gfx project which the compiler
	currently fails.
1997-01-02 00:47:55 +00:00