MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1305: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.157YPl:1765: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - exist_foreign_error.err Making Mercury/int3s/exist_foreign_error.int3 Making Mercury/ints/exist_foreign_error.int ** Nothing to be done for `exist_foreign_error.err'. if { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - -r exist_foreign_error.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing exist_foreign_error.err with exist_foreign_error.err_exp*, results in exist_foreign_error.err_res ** exist_foreign_error.err did not match the expected error output ** (closest match was exist_foreign_error.err_res1) --- exist_foreign_error.err_exp 2024-05-20 21:50:23.000000000 +1000 +++ exist_foreign_error.err 2024-08-19 15:35:41.040973283 +1000 @@ -1,3 +1,3 @@ -exist_foreign_error.m:017: Error: the foreign language code for function -exist_foreign_error.m:017: `exist_foreign_error.get_pti_from_arg_types'/2 -exist_foreign_error.m:017: should define the variable `TypeInfo_for_T'. +exist_foreign_error.m:024: Error: the foreign language code for function +exist_foreign_error.m:024: `exist_foreign_error.get_pti_from_arg_types'/2 +exist_foreign_error.m:024: should define the variable `TypeInfo_for_T'. make[3]: *** [../Mmake.common:172: exist_foreign_error.err_res] Error 1 make[3]: Target 'exist_foreign_error.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/invalid'