Commit Graph

2 Commits

Author SHA1 Message Date
Fergus Henderson
6da6a61477 Don't try to check the exact output of the error message for this
Estimated hours taken: 0.25
Branches: main

tests/invalid/Mmakefile:
tests/invalid/duplicate_instance_2.err_exp:
tests/invalid/duplicate_instance_2.err_exp2:
tests/invalid/duplicate_instance_2.err_exp3:
tests/invalid/duplicate_instance_2.err_exp4:
	Don't try to check the exact output of the error message for this
	test case, since it varies too much from system to system.
	Instead, just check that an error was detected, i.e. that
	mmc returns a non-zero exit status.
2001-05-29 09:51:46 +00:00
Fergus Henderson
41d8cc2a40 Add a test case to test that we report link errors for duplicate
Estimated hours taken: 0.75
Branches: main

tests/invalid/Mmakefile:
tests/invalid/duplicate_instance_1.m:
tests/invalid/duplicate_instance_2.m:
tests/invalid/duplicate_instance_2.err_exp:
tests/invalid/duplicate_instance_2.err_exp2:
	Add a test case to test that we report link errors for duplicate
	instance definitions.

tests/invalid/Mmakefile:
	A couple of minor improvements:
	- pass $(ALL_GRADEFLAGS) to $(MC) when creating the .err files
	- use $(DIFF_OPTS) rather than hard-coding `-c'
2001-05-16 16:36:15 +00:00