Boost logo

Boost-Build :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-07-08 19:38:54


In trying to track down some of the broken "Fail" links in
http://www.esva.net/~beman/jam_regr.html, I realized that
class_concept_fail_expected.cpp is a "link-fail" test, so it isn't
surprising that there is nothing in the log file. After all, there is an
up-to-date .exe file. Of course, on a link-fail test, that isn't good
news. I'll deal with the problem by adding some boilerplate text that says
on a link-fail test which fails, there aren't any messages to inspect
because everything worked (even though it shouldn't have.)

But in tracking that down, I spotted a more serious problem:
concept_check_fail_expected.cpp (which is also "link-fail") is reported as
succeeding (there is a .success file) even though the code failed to
compile!

The compile failure causes the test to be reported as a success (because,
after all, failure was expected). In other words, testing.jam should be
smart enough to figure out that a compile failure doesn't represent success
on a "link-fail" test.

We need to do something about this one, since it is causing an incorrect
"Pass" to be reported.

--Beman

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk