MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-05-18/tests/term' /mnt/testing/run/build/mercury-srcdist-rotd-2024-05-18/stage2/scripts/mmc --generate-dependencies --grade asm_fast.gc.decldebug.stseg.tr --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --term-norm=simple append > append.dep_err 2>&1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-05-18/tests/term' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-05-18/tests/term' /mnt/testing/run/build/mercury-srcdist-rotd-2024-05-18/stage2/scripts/mmc --make-interface --grade asm_fast.gc.decldebug.stseg.tr --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --term-norm=simple append /mnt/testing/run/build/mercury-srcdist-rotd-2024-05-18/stage2/scripts/mmc --make-transitive-optimization-interface --grade asm_fast.gc.decldebug.stseg.tr --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --term-norm=simple --enable-termination --term-single-arg 5 --enable-termination2 --no-inlining --no-optimize-unused-args --no-deforestation --no-optimize-higher-order append Comparing append.trans_opt with append.trans_opt_exp with append.trans_opt_exp2 ** append.err did not match the expected error output ** (closest match was append.trans_opt_res1) --- append.trans_opt_exp 2024-02-08 21:28:48.000000000 +1100 +++ append.trans_opt 2024-05-19 07:37:22.573633864 +1000 @@ -2,4 +2,4 @@ :- pragma termination_info(append.app(builtin.out, builtin.out, builtin.in), finite(0, [no, no, no, yes]), cannot_loop). -:- pragma termination2_info(append.app(builtin.out, builtin.out, builtin.in), constraints([eq([term(1, r(1, 1)), term(2, r(1, 1)), term(3, r(-1, 1))], r(0, 1))]), not_set, cannot_loop). +:- pragma termination2_info(append.app(builtin.out, builtin.out, builtin.in), constraints([le([term(1, r(1, 1)), term(3, r(-1, 1))], r(0, 1)), eq([term(1, r(1, 1)), term(2, r(1, 1)), term(3, r(-1, 1))], r(0, 1))]), not_set, cannot_loop). make[3]: *** [/tmp/mmake.zZJd7y:1126: append.trans_opt_res] Error 1 make[3]: Target 'append.runtest' not remade because of errors. rm append.trans_opt_res make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-05-18/tests/term'