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

Peter Wang novalazy at gmail.com
Wed Apr 8 14:39:47 AEST 2020


On Wed, 08 Apr 2020 04:38:31 +1000 (AEST), "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:
> 
> 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.

That sounds fine.

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

As far as I can tell from a quick test, the grade doesn't prevent those
targets working.

Peter


More information about the developers mailing list