MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-05-20/tests/invalid' /mnt/testing/run/build/mercury-srcdist-rotd-2024-05-20/stage2/scripts/mmc --make-interface --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --enable-color-diagnostics \ invalid_int.m > invalid_int.int_err 2>&1; if /mnt/testing/run/build/mercury-srcdist-rotd-2024-05-20/stage2/scripts/mmc --errorcheck-only --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --enable-color-diagnostics \ invalid_int.m > invalid_int.err 2>&1; \ then false; \ else true; \ fi Comparing invalid_int.err with invalid_int.err_exp*, results in invalid_int.err_res ** invalid_int.err did not match the expected error output ** (closest match was invalid_int.err_res2) --- invalid_int.err_exp2 2024-05-14 21:08:14.000000000 +1000 +++ invalid_int.err 2024-05-21 13:51:24.332582761 +1000 @@ -1,10 +1,30 @@ +invalid_int.m:017: Error: the integer literal +invalid_int.m:017: `0b100000000000000000000000000000000' is outside the range +invalid_int.m:017: of that type. +invalid_int.m:018: Error: the integer literal +invalid_int.m:018: `0b1111111111111111111111111111111111111111111111111111111111111111' +invalid_int.m:018: is outside the range of that type. invalid_int.m:019: Error: the integer literal invalid_int.m:019: `0b10000000000000000000000000000000000000000000000000000000000000000' invalid_int.m:019: is outside the range of that type. +invalid_int.m:022: Error: the integer literal `0o40000000000' is outside the +invalid_int.m:022: range of that type. +invalid_int.m:023: Error: the integer literal `0o1777777777777777777777' is +invalid_int.m:023: outside the range of that type. invalid_int.m:024: Error: the integer literal `0o2000000000000000000000' is invalid_int.m:024: outside the range of that type. +invalid_int.m:027: Error: the integer literal `0x100000000' is outside the +invalid_int.m:027: range of that type. +invalid_int.m:028: Error: the integer literal `0x110000000' is outside the +invalid_int.m:028: range of that type. +invalid_int.m:029: Error: the integer literal `0xFFFFFFFFFFFFFFFF' is outside +invalid_int.m:029: the range of that type. invalid_int.m:030: Error: the integer literal `0x10000000000000000' is outside invalid_int.m:030: the range of that type. +invalid_int.m:033: Error: the integer literal `2147483648' is outside the range +invalid_int.m:033: of that type. +invalid_int.m:034: Error: the integer literal `9223372036854775807' is outside +invalid_int.m:034: the range of that type. invalid_int.m:035: Error: the integer literal `9223372036854775808' is outside invalid_int.m:035: the range of that type. invalid_int.m:040: Error: the 8-bit integer literal `-129i8' is outside the make[3]: *** [../Mmake.common:172: invalid_int.err_res] Error 1 make[3]: Target 'invalid_int.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-05-20/tests/invalid'