MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1305: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1953: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1954: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.NbeWed:1954: warning: undefined variable 'TRAILED_PROGS' if /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/scripts/mmc --grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs --no-intermodule-optimization --verbose-error-messages \ --make-optimization-interface illtyped_compare > illtyped_compare.err 2>&1; \ then false; \ else true; \ fi Comparing illtyped_compare.err with illtyped_compare.err_exp*, results in illtyped_compare.err_res ** illtyped_compare.err did not match the expected error output ** (closest match was illtyped_compare.err_res1) --- illtyped_compare.err_exp 2024-06-13 22:03:37.000000000 +1000 +++ illtyped_compare.err 2024-08-16 15:39:30.670591862 +1000 @@ -15,8 +15,8 @@ illtyped_compare.m:022: HeadVar__1_1: comparison_result illtyped_compare.m:022: HeadVar__2_2: illtyped_compare.bar_rep illtyped_compare.m:022: HeadVar__3_3: illtyped_compare.bar_rep -illtyped_compare.m:022: CastX_4: int -illtyped_compare.m:022: CastY_5: int +illtyped_compare.m:022: CastX_4: c_pointer +illtyped_compare.m:022: CastY_5: c_pointer illtyped_compare.m:022: In clause for unification predicate for type `bar_rep': illtyped_compare.m:022: in call to predicate illtyped_compare.m:022: `illtyped_compare.compare_bar'/3: @@ -34,5 +34,5 @@ illtyped_compare.m:022: HeadVar__1_1: illtyped_compare.bar_rep illtyped_compare.m:022: HeadVar__2_2: illtyped_compare.bar_rep illtyped_compare.m:022: Result_3: comparison_result -illtyped_compare.m:022: CastX_4: int -illtyped_compare.m:022: CastY_5: int +illtyped_compare.m:022: CastX_4: c_pointer +illtyped_compare.m:022: CastY_5: c_pointer make[3]: *** [../Mmake.common:172: illtyped_compare.err_res] Error 1 make[3]: Target 'illtyped_compare.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/invalid'