Expected uncaught exception in backtrace test #5806
Original bug ID: 5806
The testsuite challenges the backtrace capability of OCaml (testsuite/tests/backtrace). The challenge "b" causes the "program" to fail with an uncaught exception (exit code 2).
On my platform, this breaks the executions of the test script and GNU Make 3.82 abandons the target without comparing results with references, neither for "b" nor for "c", "d" and "". (See corresponding Makefile.)
Quite interestingly, this is not reported as a failed test by the test suite.
I am not very knowledgeable about GNU Make but I found out that the exit code of "program" could be hidden by replacing the faulty
OCAMLRUNPARAM=b=1 $(EXECNAME) $$arg
sh -c "OCAMLRUNPARAM=b=1 $(EXECNAME) $$arg; true"
The text was updated successfully, but these errors were encountered: