MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-28/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1307: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1952: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.RXOJnJ:1953: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-28/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-09-28/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-28/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-09-28/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 csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-28/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-09-28/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-28/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-09-28/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_res3) --- gh72_errors.err_exp3 2023-10-26 21:55:27.000000000 +1100 +++ gh72_errors.err 2024-09-29 15:08:43.770153496 +1000 @@ -1,3 +1,3 @@ -gh72_errors.m:159: Error: duplicate `:- pragma foreign_proc' declaration for +gh72_errors.m:159: Error: duplicate `:- pragma foreign_proc' declaration for gh72_errors.m:159: this mode of predicate `test_fproc_2'/5 in C#. -gh72_errors.m:143: The first one was here. +gh72_errors.m:143: 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-09-28/tests/invalid'