MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1303: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.nVyoh8:1763: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - exported_unify.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/invalid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1303: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.qcWsQu:1763: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - exported_unify.err Making Mercury/int3s/exported_unify.int3 Making Mercury/int3s/exported_unify_helper_1.int3 Making Mercury/ints/exported_unify.int Making Mercury/ints/exported_unify_helper_1.int Making exported_unify.err Mercury/ints/exported_unify_helper_1.int:003: In clause for unification Mercury/ints/exported_unify_helper_1.int:003: predicate for type `foo': Mercury/ints/exported_unify_helper_1.int:003: error: call to undefined Mercury/ints/exported_unify_helper_1.int:003: predicate Mercury/ints/exported_unify_helper_1.int:003: `exported_unify_helper_1.unify_foo'/2. ** Error making `exported_unify.err'. make[3]: [/tmp/mmake.qcWsQu:1304: exported_unify.err] Error 1 (ignored) if { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - -r exported_unify.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing exported_unify.err with exported_unify.err_exp*, results in exported_unify.err_res ** exported_unify.err did not match the expected error output ** (closest match was exported_unify.err_res2) --- exported_unify.err_exp2 2023-10-26 21:55:27.000000000 +1100 +++ exported_unify.err 2024-07-25 17:04:08.709487810 +1000 @@ -1,4 +1,5 @@ Mercury/ints/exported_unify_helper_1.int:003: In clause for unification Mercury/ints/exported_unify_helper_1.int:003: predicate for type `foo': -Mercury/ints/exported_unify_helper_1.int:003: error: undefined predicate -Mercury/ints/exported_unify_helper_1.int:003: `exported_unify_helper_1.unify_foo'/2. +Mercury/ints/exported_unify_helper_1.int:003: error: call to undefined +Mercury/ints/exported_unify_helper_1.int:003: predicate +Mercury/ints/exported_unify_helper_1.int:003: `exported_unify_helper_1.unify_foo'/2. make[3]: *** [../Mmake.common:172: exported_unify.err_res] Error 1 make[3]: Target 'exported_unify.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/invalid' ERROR OUTPUT Mercury/ints/exported_unify_helper_1.int:003: In clause for unification Mercury/ints/exported_unify_helper_1.int:003: predicate for type `foo': Mercury/ints/exported_unify_helper_1.int:003: error: call to undefined Mercury/ints/exported_unify_helper_1.int:003: predicate Mercury/ints/exported_unify_helper_1.int:003: `exported_unify_helper_1.unify_foo'/2. END OF THE ERROR OUTPUT