MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-06-02/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.1aQVhW:1305: warning: undefined variable 'TRAILED_PROGS' /mnt/testing/run/build/mercury-srcdist-rotd-2024-06-02/stage2/scripts/mmc --make-interface --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --enable-color-diagnostics \ bad_item_in_interface.m > bad_item_in_interface.int_err 2>&1; make[3]: [/tmp/mmake.1aQVhW:1306: bad_item_in_interface.err] Error 1 (ignored) if /mnt/testing/run/build/mercury-srcdist-rotd-2024-06-02/stage2/scripts/mmc --errorcheck-only --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --enable-color-diagnostics \ bad_item_in_interface.m > bad_item_in_interface.err 2>&1; \ then false; \ else true; \ fi Comparing bad_item_in_interface.err with bad_item_in_interface.err_exp*, results in bad_item_in_interface.err_res ** bad_item_in_interface.err did not match the expected error output ** (closest match was bad_item_in_interface.err_res1) --- bad_item_in_interface.err_exp 2024-05-31 21:33:50.000000000 +1000 +++ bad_item_in_interface.err 2024-06-03 03:35:59.156109086 +1000 @@ -36,6 +36,8 @@ bad_item_in_interface.m:063: Error: `:- pragma require_feature_set' bad_item_in_interface.m:063: declarations are not allowed in module bad_item_in_interface.m:063: interfaces. +bad_item_in_interface.m:063: Error: this module must be compiled in a grade +bad_item_in_interface.m:063: that supports memoisation. bad_item_in_interface.m:065: Error: `:- pragma foreign_proc' declarations are bad_item_in_interface.m:065: not allowed in module interfaces. bad_item_in_interface.m:072: Error: `:- mutable' declarations are not allowed make[3]: *** [../Mmake.common:172: bad_item_in_interface.err_res] Error 1 make[3]: Target 'bad_item_in_interface.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-06-02/tests/invalid'