MERCURY_OPTIONS= --deep-random-write=25 --deep-std-name --mdb-disable-progress gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/tests/invalid_make_int' mmake sub_c.depend gmake[4]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/tests/invalid_make_int' { echo MCFLAGS += '--grade csharp --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --halt-at-invalid-interface --std-int-file-not-written-msgs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/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-29/stage2/scripts/mmc --make --options-file - sub_c.depend gmake[4]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/tests/invalid_make_int' mmake sub_c.all_int3s gmake[4]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/tests/invalid_make_int' { echo MCFLAGS += '--grade csharp --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --halt-at-invalid-interface --std-int-file-not-written-msgs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/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-29/stage2/scripts/mmc --make --options-file - sub_c.all_int3s Making Mercury/int3s/sub_c.int3 Making Mercury/int3s/sub_c_helper_1.int3 gmake[4]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/tests/invalid_make_int' if MERCURY_NO_PATHS_IN_CANNOT_FIND_MSG=true \ /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/stage2/scripts/mmc --make-interface --grade csharp --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --halt-at-invalid-interface --std-int-file-not-written-msgs sub_c \ > sub_c.int_err 2>&1; \ then false; \ else true; \ fi Comparing sub_c.int_err with sub_c.int_err_exp*, results in sub_c.int_err_res ** sub_c.int_err did not match the expected error output ** (closest match was sub_c.int_err_res1) --- sub_c.int_err_exp 2025-03-27 22:34:32.000000000 +1100 +++ sub_c.int_err 2025-03-30 06:40:32.697343999 +1100 @@ -1,4 +1,3 @@ -mercury_compile: cannot find `sub_c_helper_1.sub1.int3' in the search path. sub_c.m:020: In module `sub_c': error: sub_c.m:020: the absence of an `:- import_module' or `:- use_module' sub_c.m:020: declaration for `sub_c_helper_1' prevents access to the gmake[3]: *** [../Mmake.common:200: sub_c.int_err_res] Error 1 gmake[3]: Target 'sub_c.runtest' not remade because of errors. rm sub_c.int_err_res gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-29/tests/invalid_make_int'