MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/tests/debugger' /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/scripts/mmc --generate-dependencies --grade asm_fast.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace deep -O5 --intermod-opt --event-set-file-name user_event_spec --trace shallow -O2 user_event_shallow > user_event_shallow.dep_err 2>&1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/tests/debugger' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/tests/debugger' /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/scripts/mmc --make-interface --grade asm_fast.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace deep -O5 --intermod-opt --event-set-file-name user_event_spec --trace shallow -O2 user_event_shallow /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/scripts/mmc --make-optimization-interface --grade asm_fast.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace deep -O5 --intermod-opt --event-set-file-name user_event_spec --trace shallow -O2 user_event_shallow /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/scripts/mmc --compile-to-c --grade asm_fast.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --trace deep -O5 --intermod-opt --event-set-file-name user_event_spec --trace shallow -O2 user_event_shallow > user_event_shallow.err 2>&1 /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/scripts/mgnuc --grade asm_fast.gc -- -c user_event_shallow.c -o user_event_shallow.o /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/scripts/mgnuc --grade asm_fast.gc -- -c user_event_shallow_init.c -o user_event_shallow_init.o /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/scripts/ml --grade asm_fast.gc --no-mercury-stdlib-dir --trace --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/browser/mer_browser.init --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/mdbcomp/mer_mdbcomp.init --ssdb-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/ssdb/mer_ssdb.init -- -o user_event_shallow user_event_shallow_init.o \ user_event_shallow.o \ /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/trace/libmer_trace.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/trace/libmer_eventspec.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/ssdb/libmer_ssdb.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/browser/libmer_browser.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/mdbcomp/libmer_mdbcomp.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/library/libmer_std.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/stage2/runtime/libmer_rt.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/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-2023-03-11/stage2/scripts/test_mdbrc mdb ./user_event_shallow < user_event_shallow.inp \ > user_event_shallow.out 2>&1 Comparing user_event_shallow.out with user_event_shallow.exp*, results in user_event_shallow.res ** user_event_shallow.out did not match the expected output ** (closest match was user_event_shallow.res1) --- user_event_shallow.exp 2023-03-03 22:39:36.000000000 +1100 +++ user_event_shallow.out 2023-03-12 03:35:20.687762267 +1100 @@ -3,23 +3,30 @@ Command echo enabled. mdb> register --quiet mdb> user - E2: C2 USER pred user_event_shallow.queen/2-0 (nondet) c3; user_event_shallow.m:36 + E2: C2 USER pred user_event_shallow.nodiag/3-0 (semidet) s2-2;c4;t;c2; user_event_shallow.m:71 mdb> retry Cannot perform retry because information about the input arguments is not available. mdb> print * - test_list (attr 0, Out) [1, 2, 3, 4, 5] - Data (arg 1) [1, 2, 3, 4, 5] + test_failed (attr 0) "N - B" + arg_b (attr 1, B) 1 + arg_d (attr 2, N) 2 + arg_list (attr 3, HeadVar__3) [2, 3, 4, 5] + D (arg 2) 1 + BmN -1 + L [3, 4, 5] + NmB 1 mdb> browse !test_list -browser> p -[1, 2, 3, 4, 5] -browser> ^2^1 -browser> p -2 -browser> quit -mdb> user_event_context proc -User events will get only procedure contexts printed. +mdb: there is no such variable. +mdb> p +nodiag(1, 1, [2, 3, 4, 5]) +mdb> ^2^1 +Unknown command `^2^1'. Give the command `help' for help. +mdb> p +nodiag(1, 1, [2, 3, 4, 5]) +mdb> quit +mdb: are you sure you want to quit? user_event_context proc mdb> user - E3: C3 USER pred user_event_shallow.nodiag/3-0 (semidet) s2-2;c4;t;c2; + E3: C3 USER pred user_event_shallow.nodiag/3-0 (semidet) s2-2;c4;t;c2; user_event_shallow.m:71 mdb> user_event_context none User events will get no contexts printed. mdb> current @@ -50,17 +57,23 @@ test_failed (attr 0) "N - B" arg_b (attr 1, B) 1 arg_d (attr 2, N) 2 - arg_list (attr 3, HeadVar__3) [2, 3, 4, 5] + arg_list (attr 3, HeadVar__3) [2, 3, 5, 4] D (arg 2) 1 BmN -1 - L [3, 4, 5] + L [3, 5, 4] NmB 1 mdb> print !arg_b arg_b (attr 1, B) 1 mdb> user - E4: C2 USER user_event_shallow.m:36 + E4: C4 USER user_event_shallow.m:71 mdb> print * - test_list (attr 0, Out) [1, 2, 3, 5, 4] - Data (arg 1) [1, 2, 3, 4, 5] + test_failed (attr 0) "N - B" + arg_b (attr 1, B) 1 + arg_d (attr 2, N) 2 + arg_list (attr 3, HeadVar__3) [2, 4, 3, 5] + D (arg 2) 1 + BmN -1 + L [4, 3, 5] + NmB 1 mdb> continue [1, 3, 5, 2, 4] make[3]: *** [../Mmake.common:138: user_event_shallow.res] Error 1 make[3]: Target 'user_event_shallow.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2023-03-11/tests/debugger'