Boost logo

Boost-Build :

Subject: Re: [Boost-build] Recent commits broke the link-fail testing on Windows
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-01-15 15:36:47


On 01/14/2018 02:25 PM, Antony Polukhin via Boost-build wrote:
> I've started receiving "Tests failed" warnings from CI recently.
> Here's an example:
> All the the tests passed (including tests that must fail to link), but
> there's a message "...failed updating 2 targets..." and return code is
> not 0.
> Looks like the issue is related to link-fail targets in tests

As far as I can make out, Boost.Build is working correctly:

$ b2 link_fail_nortti_rtti -d2
   -TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs
/GR- -c
cl : Command line warning D9025 : overriding '/GR' with '/GR-'
   -TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs -c
[no error messages]

Likewise, for link_fail_rtti_nortti, /GR- -DNO_RTTI vs. /GR
seem to be passed correctly.

Just to validate, I changed link-fail to link and it passed.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at