MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1303: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1762: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1763: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.w2WkzE:1763: warning: undefined variable 'TRAILED_PROGS' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-24/stage2/scripts/mmc --make --options-file - bad_fact_table_decls.err Making Mercury/int3s/bad_fact_table_decls.int3 Making Mercury/ints/bad_fact_table_decls.int ** Error: file `fact_table_data_file_1' not found make[3]: [/tmp/mmake.w2WkzE:1304: bad_fact_table_decls.err] Error 1 (ignored) if { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-24/stage2/scripts/mmc --make --options-file - -r bad_fact_table_decls.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing bad_fact_table_decls.err with bad_fact_table_decls.err_exp*, results in bad_fact_table_decls.err_res ** bad_fact_table_decls.err did not match the expected error output ** (closest match was bad_fact_table_decls.err_res1) --- bad_fact_table_decls.err_exp 2024-05-31 21:33:50.000000000 +1000 +++ bad_fact_table_decls.err 2024-07-25 17:03:57.029947676 +1000 @@ -1,15 +0,0 @@ -bad_fact_table_decls.m:045: Error: type `bool.bool' is not allowed in fact -bad_fact_table_decls.m:045: tables. The only types allowed in fact tables are -bad_fact_table_decls.m:045: `int', `float', and `string'. -bad_fact_table_decls.m:045: Error: type `int16' is not allowed in fact tables. -bad_fact_table_decls.m:045: The only types allowed in fact tables are `int', -bad_fact_table_decls.m:045: `float', and `string'. -bad_fact_table_decls.m:054: Error: `:- pragma fact_table' declaration for a -bad_fact_table_decls.m:054: predicate with more than one mode in which all -bad_fact_table_decls.m:054: arguments are input. -bad_fact_table_decls.m:057: Error: the `:- pragma fact_table' declaration -bad_fact_table_decls.m:057: requires all the arguments of predicate -bad_fact_table_decls.m:057: `table_3'/3 mode 0 to be either fully input or -bad_fact_table_decls.m:057: fully output, but the second argument is neither. -bad_fact_table_decls.m:058: In mode declaration for predicate `table_3'/3: -bad_fact_table_decls.m:058: error: the mode `any'/0 is undefined. make[3]: *** [../Mmake.common:172: bad_fact_table_decls.err_res] Error 1 make[3]: Target 'bad_fact_table_decls.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/invalid'