Commit Graph

3 Commits

Author SHA1 Message Date
Zoltan Somogyi
fdd141bf77 Clean up the tests in the other test directories.
tests/invalid/*.{m,err_exp}:
tests/misc_tests/*.m:
tests/mmc_make/*.m:
tests/par_conj/*.m:
tests/purity/*.m:
tests/stm/*.m:
tests/string_format/*.m:
tests/structure_reuse/*.m:
tests/submodules/*.m:
tests/tabling/*.m:
tests/term/*.m:
tests/trailing/*.m:
tests/typeclasses/*.m:
tests/valid/*.m:
tests/warnings/*.{m,exp}:
    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 tests
    that check compiler error messages, expect the new line numbers.

browser/cterm.m:
browser/tree234_cc.m:
    Import only one module per line.

tests/hard_coded/boyer.m:
    Fix something I missed.
2015-02-16 12:32:18 +11:00
Ben Mellor
c96e967be7 Improve the stm test cases slightly.
Branches: main

Improve the stm test cases slightly.

tests/stm/Mmakefile
	add new test case

tests/stm/nested_or_else.exp
tests/stm/nested_or_else.m
    add new test case, testing or_else in nested transactions

tests/stm/exception_propogate.m
tests/stm/exception_propogate.exp
    catch the exception and print it instead of allowing it to be unhandled

tests/stm/atomic_or_else.exp
tests/stm/atomic_or_else.m
    use multiple or_else alternatives instead of just one

tests/stm/nested.m
    work around a bug I haven't solved yet and document it
2009-02-26 05:28:22 +00:00
Ben Mellor
3faabf30bd Some (very) basic tests of the stm system, adapted from those left by
Estimated hours taken: 4
Branches: main

Some (very) basic tests of the stm system, adapted from those left by
Leon Mika. Not all of them pass yet. See the comments in each .m file
for a description of the test.
2008-12-19 08:57:11 +00:00