Boost logo

Boost :

Subject: Re: [boost] [test-matrx] problem with testing expected compile-time failures.
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-02-27 10:38:45


On 02/27/2016 03:07 AM, Andrzej Krzemienski wrote:
> Hi Everyone,
> I need help trying to understand how the testing of desired compile-time
> failures work. I know the concept in general, but I observe something
> strange in test results for Optional in Master:
> I have a test called optional_test_ref_convert_assign_const_int_prevented
> <>
> It is marked (intentionally) "cf": "only try to compile and expect a
> failure".But on tester sun- 12.4_stlport4 the test results are marked as
> "comp" which indicates an *unexpected* compile-time failure.
> This confuses me:
> * I marked the test "expect compile-time failure".
> * Test results are marked as "unexpected compile-time failure".

It failed because the test actually did compile.

> Am I missing something? Not to mention that there is no compiler output
> included:

There is no output because the compiler didn't produce any output.


In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at