MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/tests/hard_coded' /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/scripts/mmc --generate-dependencies --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS test_generic_ref > test_generic_ref.dep_err 2>&1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/tests/hard_coded' /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/scripts/mmc --compile-to-c --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS test_generic_ref > test_generic_ref.err 2>&1 /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/scripts/mgnuc --grade hlc.par.gc -- -c test_generic_ref.c -o test_generic_ref.o /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/scripts/mgnuc --grade hlc.par.gc -- -c test_generic_ref_init.c -o test_generic_ref_init.o /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/scripts/ml --grade hlc.par.gc --no-mercury-stdlib-dir --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/browser/mer_browser.init --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/mdbcomp/mer_mdbcomp.init --ssdb-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/ssdb/mer_ssdb.init -- -o test_generic_ref test_generic_ref_init.o \ test_generic_ref.o \ /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/trace/libmer_trace.a /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/trace/libmer_eventspec.a /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/ssdb/libmer_ssdb.a /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/browser/libmer_browser.a /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/mdbcomp/libmer_mdbcomp.a /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/library/libmer_std.a /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/runtime/libmer_rt.a /mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/stage2/boehm_gc/libpar_gc.a { [ -f test_generic_ref.inp ] && cat test_generic_ref.inp; } | ./test_generic_ref > test_generic_ref.out 2>&1 || \ { grep . test_generic_ref.out /dev/null; exit 1; } Comparing test_generic_ref.out with test_generic_ref.exp*, results in test_generic_ref.res ** test_generic_ref.out did not match the expected output ** (closest match was test_generic_ref.res1) --- test_generic_ref.exp 2018-09-10 14:42:40.000000000 +1000 +++ test_generic_ref.out 2019-05-14 13:24:15.355273189 +1000 @@ -7,16 +7,19 @@ Expected Term: test2_struct(222, 222, 222) Orig. Term: test3_struct(yes, yes, yes, 65535u16) - Updated Term: test3_struct(no, no, no, 0u16) + Updated Term: test3_struct(yes, yes, yes, 0u16) Expected Term: test3_struct(no, no, no, 0u16) +*** MATCH FAILED *** Orig. Term: test4_struct(bat, bat, 561, "Hello", owl, owl, owl, owl) - Updated Term: test4_struct(fox, fox, 41041, "World", hog, hog, hog, hog) + Updated Term: test4_struct(bat, bat, 41041, "World", owl, owl, owl, owl) Expected Term: test4_struct(fox, fox, 41041, "World", hog, hog, hog, hog) +*** MATCH FAILED *** Orig. Term: test5_struct(561, dummy, nested_dummy(dummy), "Hello", yes, yes) - Updated Term: test5_struct(41041, dummy, nested_dummy(dummy), "World", no, no) + Updated Term: test5_struct(41041, dummy, nested_dummy(dummy), "World", yes, yes) Expected Term: test5_struct(41041, dummy, nested_dummy(dummy), "World", no, no) +*** MATCH FAILED *** Orig. Term: test6_struct(255u8, 255u8, dummy, 65535u16) Updated Term: test6_struct(1u8, 1u8, dummy, 1u16) ../Mmake.common:110: recipe for target 'test_generic_ref.res' failed make[3]: *** [test_generic_ref.res] Error 1 make[3]: Target 'test_generic_ref.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2019-05-13/tests/hard_coded'