Commit Graph

2 Commits

Author SHA1 Message Date
Peter Wang
5574b7aa36 Update this test case. It would report an error message when the
Estimated hours taken: 0.1
Branches: main

tests/hard_coded/Mmakefile:
tests/hard_coded/runtime_opt.exp:
tests/hard_coded/runtime_opt.inp:
	Update this test case.  It would report an error message when the
	chosen --detstack-size was less than the default --small-detstack-size.
2006-10-04 23:59:46 +00:00
Mark Brown
4a1b9f3bd5 Fix a bug in the handling of unrecognised runtime flags.
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.
2006-08-28 10:13:23 +00:00