MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1305: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1764: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1765: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NEn9Hk:1765: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - bad_fact_table_data.err Making Mercury/int3s/bad_fact_table_data.int3 Making Mercury/ints/bad_fact_table_data.int ** Nothing to be done for `bad_fact_table_data.err'. if { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - -r bad_fact_table_data.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing bad_fact_table_data.err with bad_fact_table_data.err_exp*, results in bad_fact_table_data.err_res ** bad_fact_table_data.err did not match the expected error output ** (closest match was bad_fact_table_data.err_res1) --- bad_fact_table_data.err_exp 2024-05-20 21:50:23.000000000 +1000 +++ bad_fact_table_data.err 2024-09-03 14:50:14.488302783 +1000 @@ -1,3 +1,4 @@ +bad_fact_table_data.m:036: Error: predicate `table_x'/3 has no clauses. fact_table_data_file_x:002: Error: fact has wrong number of arguments. Expected fact_table_data_file_x:002: three arguments, got four. fact_table_data_file_x:003: Error: this clause is not for predicate make[3]: *** [../Mmake.common:172: bad_fact_table_data.err_res] Error 1 make[3]: Target 'bad_fact_table_data.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/invalid'