MERCURY_OPTIONS= --deep-random-write=25 --deep-std-name --mdb-disable-progress gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-08-26/tests/invalid' /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-08-26/stage2/scripts/mmc --make-interface --grade asm_fast.gc.profdeep.stseg --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O0 --optimise-tailcalls --warn-non-tail-recursion self -E \ require_tailrec_2.m > require_tailrec_2.int_err 2>&1; if /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-08-26/stage2/scripts/mmc --target-code-only --grade asm_fast.gc.profdeep.stseg --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O0 --optimise-tailcalls --warn-non-tail-recursion self -E \ require_tailrec_2.m > require_tailrec_2.err 2>&1; \ then false; \ else true; \ fi Comparing require_tailrec_2.err with require_tailrec_2.err_exp*, results in require_tailrec_2.err_res ** require_tailrec_2.err did not match the expected error output ** (closest match was require_tailrec_2.err_res1) --- require_tailrec_2.err_exp 2025-08-18 21:30:39.000000000 +1000 +++ require_tailrec_2.err 2025-08-27 04:46:28.364541285 +1000 @@ -18,3 +18,7 @@ require_tailrec_2.m:141: `cons'/2: require_tailrec_2.m:141: warning: the code defining this function contains no require_tailrec_2.m:141: recursive calls at all, tail-recursive or otherwise. +require_tailrec_2.m:152: In mode number 1 of predicate `partition'/6: +require_tailrec_2.m:152: warning: self-recursive call is not tail recursive. +require_tailrec_2.m:154: In mode number 1 of predicate `partition'/6: +require_tailrec_2.m:154: warning: self-recursive call is not tail recursive. gmake[3]: *** [../Mmake.common:166: require_tailrec_2.err_res] Error 1 gmake[3]: Target 'require_tailrec_2.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-08-26/tests/invalid'