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-03-29/tests/invalid' rm -f foreign_decl_line_number.err /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/stage2/scripts/mmc --make-interface --grade none.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --no-errorcheck-only --line-numbers --line-numbers-for-c-headers \ foreign_decl_line_number.m \ > foreign_decl_line_number.int_err 2>&1; if /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/stage2/scripts/mmc --errorcheck-only --grade none.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --no-errorcheck-only --line-numbers --line-numbers-for-c-headers \ --cflags "" \ foreign_decl_line_number.m \ > foreign_decl_line_number.err.orig 2>&1; \ then false; \ else true; \ fi grep '#error' foreign_decl_line_number.err.orig | \ sed 's@Mercury/cs/@@g' | sort -u \ > foreign_decl_line_number.err Comparing foreign_decl_line_number.err with foreign_decl_line_number.err_exp*, results in foreign_decl_line_number.err_res ** foreign_decl_line_number.err did not match the expected error output ** (closest match was foreign_decl_line_number.err_res1) --- foreign_decl_line_number.err_exp 2020-10-11 14:28:49.000000000 +1100 +++ foreign_decl_line_number.err 2025-03-30 09:15:49.325256641 +1100 @@ -1,3 +1,3 @@ -foreign_decl_line_number.m:24: #error Error in foreign decl -foreign_decl_line_number.m:28: #error Error in foreign code -foreign_decl_line_number.m:44: #error Error in foreign proc + 24 | #error Error in foreign decl + 28 | #error Error in foreign code + 44 | #error Error in foreign proc gmake[3]: *** [../Mmake.common:166: foreign_decl_line_number.err_res] Error 1 gmake[3]: Target 'foreign_decl_line_number.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/tests/invalid'