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.
Estimated hours taken: 1
Branches: main
Specify the behaviour of finalisers and mutable initial value expressions
w.r.t to exceptions.
doc/reference_manual.texi:
Specify what happens if a finaliser terminates with an uncaught
exception.
Specify the order of initialisation for mutables w.r.t initialise
declarations.
Specify what happens if a mutable initial value expression
terminates with an uncaught exception.
tests/hard_coded/Mmakefile:
Add the new test cases.
tests/hard_coded/final_excp.{m,exp}:
Test the behaviour of finalisers that throw exceptions.
test/hard_coded/mutable_init_order.{m,exp}:
Test that mutables are initialised in the correct order relative
to initialise declarations.
tests/hard_coded/mutabel_excp.{m,exp}:
Test the behaviour of mutable initial value expressions that
throw exceptions.