MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1307: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.mUZ53j:1952: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --no-errorcheck-only '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/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-11-19/stage2/scripts/mmc --make --options-file - gh72_errors.err Making Mercury/int3s/gh72_errors.int3 Making Mercury/ints/gh72_errors.int ** Nothing to be done for `gh72_errors.err'. if { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --no-errorcheck-only '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/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-11-19/stage2/scripts/mmc --make --options-file - -r gh72_errors.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing gh72_errors.err with gh72_errors.err_exp*, results in gh72_errors.err_res ** gh72_errors.err did not match the expected error output ** (closest match was gh72_errors.err_res2) --- gh72_errors.err_exp2 2023-10-26 21:55:27.000000000 +1100 +++ gh72_errors.err 2024-11-21 02:32:41.398361313 +1100 @@ -1,3 +1,3 @@ -gh72_errors.m:152: Error: duplicate `:- pragma foreign_proc' declaration for +gh72_errors.m:152: Error: duplicate `:- pragma foreign_proc' declaration for gh72_errors.m:152: this mode of predicate `test_fproc_2'/5 in Java. -gh72_errors.m:136: The first one was here. +gh72_errors.m:136: The first one was here. make[3]: *** [../Mmake.common:172: gh72_errors.err_res] Error 1 make[3]: Target 'gh72_errors.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-19/tests/invalid'