MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/invalid' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --warn-inferred-erroneous '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/scripts/mmc --make --options-file - pragma_c_code_no_det.err Making Mercury/int3s/pragma_c_code_no_det.int3 Making Mercury/ints/pragma_c_code_no_det.int ** Nothing to be done for `pragma_c_code_no_det.err'. if { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --warn-inferred-erroneous '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/scripts/mmc --make --options-file - -r pragma_c_code_no_det.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing pragma_c_code_no_det.err with pragma_c_code_no_det.err_exp*, results in pragma_c_code_no_det.err_res ** pragma_c_code_no_det.err did not match the expected error output ** (closest match was pragma_c_code_no_det.err_res1) --- pragma_c_code_no_det.err_exp 2025-01-10 21:53:49.000000000 +1100 +++ pragma_c_code_no_det.err 2025-03-29 08:40:43.189380561 +1100 @@ -1,7 +1,7 @@ pragma_c_code_no_det.m:011: Warning: the determinism declaration for predicate pragma_c_code_no_det.m:011: `test'/1 could be tighter. pragma_c_code_no_det.m:011: Declared `det', inferred `erroneous'. -pragma_c_code_no_det.m:020: Error: the procedure specification in this -pragma_c_code_no_det.m:020: `:- pragma foreign_proc' declaration for -pragma_c_code_no_det.m:020: predicate `fproc'/1 is missing the final -pragma_c_code_no_det.m:020: `is ' part. +pragma_c_code_no_det.m:026: Error: the procedure specification in this +pragma_c_code_no_det.m:026: `:- pragma foreign_proc' declaration for +pragma_c_code_no_det.m:026: predicate `fproc'/1 is missing the final +pragma_c_code_no_det.m:026: `is ' part. gmake[3]: *** [../Mmake.common:166: pragma_c_code_no_det.err_res] Error 1 gmake[3]: Target 'pragma_c_code_no_det.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/invalid'