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
Zoltan Somogyi
853f65135c Enable double_error, since we now pass it.
Estimated hours taken: 0.2

general/Mmake:
	Enable double_error, since we now pass it.

general/double_error.m:
	Fix the code so that we don't actually call error; calling error
	would prevent us from comparing the Mercury and NU-Prolog versions.

general/double_error.exp:
	Add the expected output file.
1996-12-23 04:57:53 +00:00
Thomas Conway
f7f44466a7 add double_error to the list of not-working tests.
Estimated hours taken: 0.5

tests/general/Mmake:
	add double_error to the list of not-working tests.

tests/general/double_error.m:
	a test case which currently fails where a nonlocal gets
	bound in two conjoined but 'erroneous' scopes.
1996-12-04 05:50:03 +00:00