Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005806OCamlOCaml generalpublic2012-11-01 21:182012-11-05 12:57
Reportermichi 
Assigned Toxclerc 
PrioritylowSeveritytrivialReproducibilityalways
StatusresolvedResolutionfixed 
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

   OCAMLRUNPARAM=b=1 $(EXECNAME) $$arg

by

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

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

- Relationships

-  Notes
(0008419)
xclerc (developer)
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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker