[m-dev.] testing "mmc --make-interface"

Zoltan Somogyi zoltan.somogyi at runbox.com
Wed Apr 8 04:38:31 AEST 2020


The attached trivial diff is a temporary fix for Mantis bug 499.
It is temporary because it fixes the symptom, not the cause,
which is that way we now decide what errors we detect and
report at "mmc --make-interface" time is in flux, and will be
for a while yet, until I finish the changes required to make it
possible to enable argument packing.

To help that process, I propose that we add two new test
directories:

- valid_make_int, which checks that running "mmc --make-interface"
  on a module succeeds.

- invalid_make_int, which checks that running "mmc --make-interface"
  on a module fails, and fails with the expected error output.

In both cases, if the test program has submodules, then we would run
"mmake test.depend" and "mmake test.int3s" beforehand. (We will
need to do something else for the grade  that don't support mmake,
but I don't yet know what.)

Are there any objections, counter-proposals, or simply
proposals for better names for the test directories?

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.499
Type: application/octet-stream
Size: 1185 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/developers/attachments/20200408/ac4b4b4a/attachment.obj>


More information about the developers mailing list