MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:1301: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2425: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2425: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2425: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2425: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2425: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2425: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2425: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2426: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2426: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2426: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2426: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2426: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2426: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.srS3Ko:2426: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-07-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-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-07-19/stage2/scripts/mmc --make --options-file - test_may_duplicate.err Making Mercury/int3s/test_may_duplicate.int3 Making Mercury/ints/test_may_duplicate.int Making test_may_duplicate.err test_may_duplicate.m:039: Error: the `may_duplicate' attribute on the test_may_duplicate.m:039: foreign_proc is not compatible with the test_may_duplicate.m:039: `:- pragma no_inline' declaration on the predicate. test_may_duplicate.m:061: Error: the `may_not_duplicate' attribute on the test_may_duplicate.m:061: foreign_proc is not compatible with the test_may_duplicate.m:061: `:- pragma inline' declaration on the predicate. ** Error making `test_may_duplicate.err'. make[3]: [/tmp/mmake.srS3Ko:1302: test_may_duplicate.err] Error 1 (ignored) if { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-07-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-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-07-19/stage2/scripts/mmc --make --options-file - -r test_may_duplicate.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing test_may_duplicate.err with test_may_duplicate.err_exp*, results in test_may_duplicate.err_res ** test_may_duplicate.err did not match the expected error output ** (closest match was test_may_duplicate.err_res1) --- test_may_duplicate.err_exp 2024-06-07 21:46:11.000000000 +1000 +++ test_may_duplicate.err 2024-07-20 15:49:35.589403315 +1000 @@ -1,6 +1,6 @@ -test_may_duplicate.m:027: Error: the `may_duplicate' attribute on the -test_may_duplicate.m:027: foreign_proc is not compatible with the -test_may_duplicate.m:027: `:- pragma no_inline' declaration on the predicate. -test_may_duplicate.m:049: Error: the `may_not_duplicate' attribute on the -test_may_duplicate.m:049: foreign_proc is not compatible with the -test_may_duplicate.m:049: `:- pragma inline' declaration on the predicate. +test_may_duplicate.m:039: Error: the `may_duplicate' attribute on the +test_may_duplicate.m:039: foreign_proc is not compatible with the +test_may_duplicate.m:039: `:- pragma no_inline' declaration on the predicate. +test_may_duplicate.m:061: Error: the `may_not_duplicate' attribute on the +test_may_duplicate.m:061: foreign_proc is not compatible with the +test_may_duplicate.m:061: `:- pragma inline' declaration on the predicate. make[3]: *** [../Mmake.common:172: test_may_duplicate.err_res] Error 1 make[3]: Target 'test_may_duplicate.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/tests/invalid'