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.
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'