AMDG 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: http://www.boost.org/development/tests/master/developer/optional.html
I have a test called optional_test_ref_convert_assign_const_int_prevented https://github.com/boostorg/optional/blob/master/test/optional_test_ref_conv... 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.
http://www.boost.org/development/tests/master/developer/output/oracle-intel-...
In Christ, Steven Watanabe