|
Boost Testing : |
Subject: Re: [Boost-testing] Setting up Windows to run regression tests?
From: Tom Kent (lists_at_[hidden])
Date: 2014-01-20 08:53:32
On Mon, Jan 20, 2014 at 7:03 AM, Beman Dawes <bdawes_at_[hidden]> wrote:
> For Windows, several configuration changes need to be made before the first
> run to eliminate interactive error dialog boxes that popup:
>
> * Windows Firewall complaining about ASIO tests doing various network
> operations.
> * exe has stopped working dialog box.
> * static assert has occurred dialog box.
>
> Is there any way for Boost.Build to disable these?
>
I've been fighting this battle on windows for the last year+, without
much success. The firewall is easy to manually disable, but the other
two are not.
You can disable various levels of windows error reporter, but I have
yet to find a setting that will allow for a silent fail (and keep on
going). Luckily, it seems like there are only a couple libraries that
have bugs that cause these, and I went through and filed bugs against
all the ones I was seeing, requesting that if the maintainer can't fix
it to simply add a
#if defined _MSC_VER && _MSC_VER == XXXX
BOOST_FAIL()
#endif
into their test run, so that it will show up as failing on that msvc
version but not cause a popup.
Tom