MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/tests/declarative_debugger' /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/scripts/mmc --generate-dependencies --grade asm_fast.gc.decldebug.stseg --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace decl throw > throw.dep_err 2>&1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/tests/declarative_debugger' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/tests/declarative_debugger' /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/scripts/mmc --make-interface --grade asm_fast.gc.decldebug.stseg --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace decl throw /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/scripts/mmc --compile-to-c --grade asm_fast.gc.decldebug.stseg --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace decl throw > throw.err 2>&1 /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/scripts/mgnuc --grade asm_fast.gc.decldebug.stseg -- -c throw.c -o throw.o /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/scripts/mgnuc --grade asm_fast.gc.decldebug.stseg -- -c throw_init.c -o throw_init.o /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/scripts/ml --grade asm_fast.gc.decldebug.stseg --no-mercury-stdlib-dir --trace --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/browser/mer_browser.init --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/mdbcomp/mer_mdbcomp.init --ssdb-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/ssdb/mer_ssdb.init -- -o throw throw_init.o \ throw.o \ /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/trace/libmer_trace.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/trace/libmer_eventspec.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/ssdb/libmer_ssdb.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/browser/libmer_browser.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/mdbcomp/libmer_mdbcomp.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/library/libmer_std.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/runtime/libmer_rt.a /mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/boehm_gc/libgc.a MERCURY_OPTIONS="$MERCURY_OPTIONS -de" HOME=/nonexistent MERCURY_SUPPRESS_MDB_BANNER=yes MERCURY_DEBUGGER_INIT=/mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/stage2/scripts/test_mdbrc mdb ./throw < throw.inp 2>&1 | \ sed -e 's/exception.m:[0-9]*/exception.m:NNNN/g' \ > throw.out 2>&1 \ || { grep . throw.out /dev/null; exit 1; } Comparing throw.out with throw.exp*, results in throw.res ** throw.out did not match the expected output ** (closest match was throw.res2) --- throw.exp2 2022-01-08 21:21:05.000000000 +1100 +++ throw.out 2022-01-16 06:06:36.085940963 +1100 @@ -7,9 +7,9 @@ mdb> break q 1: + stop interface pred throw.q/1-0 (semidet) mdb> continue - E2: C2 CALL pred throw.p/1-0 (cc_nondet) throw.m:24 (exception.m:NNNN) + E2: C2 CALL pred throw.p/1-0 (cc_nondet) throw.m:29 (exception.m:NNNN) mdb> finish - E3: C2 EXCP pred throw.p/1-0 (cc_nondet) q!;c2; throw.m:26 (exception.m:NNNN) + E3: C2 EXCP pred throw.p/1-0 (cc_nondet) q!;c2; throw.m:31 (exception.m:NNNN) mdb> dd -d 3 -n 7 Call p(_) Throws "Too big" make[3]: *** [../Mmake.common:138: throw.res] Error 1 make[3]: Target 'throw.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2022-01-14/tests/declarative_debugger'