MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1305: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.xoAuJc:1954: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --no-intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/scripts/mmc --make --options-file - foreign_type_2.err Making Mercury/int3s/foreign_type_2.int3 Making Mercury/ints/foreign_type_2.int ** Nothing to be done for `foreign_type_2.err'. if { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --no-intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/stage2/scripts/mmc --make --options-file - -r foreign_type_2.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing foreign_type_2.err with foreign_type_2.err_exp*, results in foreign_type_2.err_res ** foreign_type_2.err did not match the expected error output ** (closest match was foreign_type_2.err_res2) --- foreign_type_2.err_exp2 2020-10-11 14:28:49.000000000 +1100 +++ foreign_type_2.err 2024-08-11 15:48:38.508413768 +1000 @@ -1,3 +1,3 @@ -foreign_type_2.m:018: In clause for function `foreign_type_2.unwrap_foreign/1': -foreign_type_2.m:018: in argument 1 of clause head: -foreign_type_2.m:018: error: undefined symbol `foreign/1'. +foreign_type_2.m:022: In clause for function `unwrap_foreign'/1: +foreign_type_2.m:022: in argument 1 of clause head: +foreign_type_2.m:022: error: undefined symbol `foreign'/1. make[3]: *** [../Mmake.common:172: foreign_type_2.err_res] Error 1 make[3]: Target 'foreign_type_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-10/tests/invalid'