Boost logo

Boost :

Subject: [boost] [test-matrx] problem with testing expected compile-time failures.
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2016-02-27 05:07:52


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_convert_assign_const_int_prevented.cpp>
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".

Am I missing something? Not to mention that there is no compiler output
included:
http://www.boost.org/development/tests/master/developer/output/oracle-intel-S2-12-4-stlport4-boost-bin-v2-libs-optional-test-optional_test_ref_convert_assign_const_int_prevented-test-sun-12-4_stlport4-release-threading-multi.html

Thanks,
&rzej


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk