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