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.t1A0Xa:1303: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2431: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2431: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2431: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2431: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2431: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2431: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2431: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2432: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2432: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2432: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2432: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2432: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2432: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.t1A0Xa:2432: 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 - subtype_foreign_supertype_2.err Making Mercury/int3s/subtype_foreign_supertype_2.int3 Making Mercury/ints/subtype_foreign_supertype_2.int Making subtype_foreign_supertype_2.err subtype_foreign_supertype_2.m:017: Error: `fruit'/0 cannot be a supertype subtype_foreign_supertype_2.m:017: because it is a foreign type. ** Error making `subtype_foreign_supertype_2.err'. make[3]: [/tmp/mmake.t1A0Xa:1304: subtype_foreign_supertype_2.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 subtype_foreign_supertype_2.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing subtype_foreign_supertype_2.err with subtype_foreign_supertype_2.err_exp*, results in subtype_foreign_supertype_2.err_res ** subtype_foreign_supertype_2.err did not match the expected error output ** (closest match was subtype_foreign_supertype_2.err_res1) --- subtype_foreign_supertype_2.err_exp 2024-06-02 20:00:36.000000000 +1000 +++ subtype_foreign_supertype_2.err 2024-07-25 17:04:26.568783465 +1000 @@ -1,2 +1,2 @@ subtype_foreign_supertype_2.m:017: Error: `fruit'/0 cannot be a supertype -subtype_foreign_supertype_2.m:017: because it has a foreign type definition. +subtype_foreign_supertype_2.m:017: because it is a foreign type. make[3]: *** [../Mmake.common:172: subtype_foreign_supertype_2.err_res] Error 1 make[3]: Target 'subtype_foreign_supertype_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/invalid'