MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-01/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1307: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.yhCOZN:1767: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-01/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-10-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-01/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-10-01/stage2/scripts/mmc --make --options-file - exported_unify.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-01/tests/invalid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-01/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1307: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1766: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1767: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.EaBhbQ:1767: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-01/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-10-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-01/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-10-01/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 ** Nothing to be done for `exported_unify.err'. if { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-01/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-10-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-01/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-10-01/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-10-02 19:01:09.128449490 +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-10-01/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