Boost logo

Boost :

Subject: [boost] [test] Bug in Mingw support?
From: John Maddock (jz.maddock_at_[hidden])
Date: 2015-07-06 13:32:56


The short program below passes with MSVC and GCC Linux, but fails with
Mingw-x64 at runtime (the expected failures count gets ignored).

This is with current develop. Any ideas?

BTW the new decorator based approach does work OK, but is only supported
on a tiny number of compilers as it seems to rely on the preprocessor
lib using variadic macros, as opposed to Boost.Config marking them as
available.

Here's the program:

#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>

BOOST_AUTO_TEST_CASE_EXPECTED_FAILURES(test_main, 10000);

BOOST_AUTO_TEST_CASE(test_main)
{
    BOOST_ERROR("one");
    BOOST_ERROR("two");
}

Thanks, John.


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