tests/hard_coded/runtime_opt.exp2:
Alternative expected output for where stdout and stderr are
interleaved differently.
tests/hard_coded/runtime_opt.m:
Document what the expected outputs are for.
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: 3
Branches: main, release
Fix a bug in the handling of unrecognised runtime flags.
runtime/mercury_wrapper.c:
Add the required sentinel at the end of MR_long_opts.
Allow "det-stack-*" and "nondet-stack-*" as synonyms for
"detstack-*" and "nondetstack-*" respectively.
tests/hard_coded/Mmakefile:
tests/hard_coded/runtime_opt.exp:
tests/hard_coded/runtime_opt.inp:
tests/hard_coded/runtime_opt.m:
Test case for both recognised and unrecognised options. The options
to attempt are listed one per line in runtime_opt.inp.