MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1306: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1950: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1951: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.dRkXX8:1951: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-13/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 /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-13/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 2024-05-22 21:22:17.000000000 +1000 +++ pragma_c_code_no_det.err 2024-10-14 15:34:47.655280664 +1100 @@ -1,7 +1,7 @@ pragma_c_code_no_det.m:011: Warning: the determinism declaration for pragma_c_code_no_det.m:011: `test'(out) 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: `fproc'(out) 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: `fproc'(out) is missing the final +pragma_c_code_no_det.m:026: `is ' part. make[3]: *** [../Mmake.common:172: pragma_c_code_no_det.err_res] Error 1 make[3]: Target 'pragma_c_code_no_det.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/invalid'