MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-03-24/tests/term' /mnt/testing/run/build/mercury-srcdist-rotd-2024-03-24/stage2/scripts/mmc --generate-dependencies --grade asm_fast.gc.decldebug.stseg.tr --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --term-norm=simple sum > sum.dep_err 2>&1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-03-24/tests/term' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-03-24/tests/term' /mnt/testing/run/build/mercury-srcdist-rotd-2024-03-24/stage2/scripts/mmc --make-interface --grade asm_fast.gc.decldebug.stseg.tr --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --term-norm=simple sum /mnt/testing/run/build/mercury-srcdist-rotd-2024-03-24/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 sum Comparing sum.trans_opt with sum.trans_opt_exp with sum.trans_opt_exp2 ** sum.err did not match the expected error output ** (closest match was sum.trans_opt_res1) --- sum.trans_opt_exp 2024-02-08 21:28:48.000000000 +1100 +++ sum.trans_opt 2024-03-25 07:26:49.899375174 +1100 @@ -2,4 +2,4 @@ :- pragma termination_info(sum.sum(builtin.out, builtin.out, builtin.in), finite(0, [no, no, yes]), cannot_loop). -:- pragma termination2_info(sum.sum(builtin.out, builtin.out, builtin.in), constraints([eq([term(0, r(1, 1)), term(1, r(1, 1)), term(2, r(-1, 1))], r(0, 1))]), not_set, cannot_loop). +:- pragma termination2_info(sum.sum(builtin.out, builtin.out, builtin.in), constraints([le([term(1, r(1, 1)), term(2, r(-1, 1))], r(0, 1)), eq([term(0, r(1, 1)), term(1, r(1, 1)), term(2, r(-1, 1))], r(0, 1))]), not_set, cannot_loop). make[3]: *** [/tmp/mmake.71QO2o:1570: sum.trans_opt_res] Error 1 make[3]: Target 'sum.runtest' not remade because of errors. rm sum.trans_opt_res make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-03-24/tests/term'