Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005806OCaml~DO NOT USE (was: OCaml general)public2012-11-01 21:182015-12-11 19:08
Assigned Toxclerc 
Platformamd64OSFreeBSD OS Version9.0
Product Version4.00.1 
Target VersionFixed in Version 
Summary0005806: Expected uncaught exception in backtrace test
DescriptionThe 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



  sh -c "OCAMLRUNPARAM=b=1 $(EXECNAME) $$arg; true"

in testsuite/tests/backtrace/Makefile.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
xclerc (reporter)
2012-11-05 12:57

Fixed in both trunk (revision 13062), and '4.00' (revision 13063) branches.

- Issue History
Date Modified Username Field Change
2012-11-01 21:18 michi New Issue
2012-11-05 12:57 xclerc Note Added: 0008419
2012-11-05 12:57 xclerc Status new => resolved
2012-11-05 12:57 xclerc Resolution open => fixed
2012-11-05 12:57 xclerc Assigned To => xclerc
2015-12-11 19:08 xleroy Status resolved => closed
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker