Boost logo

Boost Users :

Subject: Re: [Boost-users] testing command-line interface using Boost.Test
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2011-09-30 14:06:03

Olaf Meeuwissen <olaf.meeuwissen <at>> writes:

> Gennadiy Rozental <rogeeff <at>> writes:
> > Olaf Meeuwissen <olaf.meeuwissen <at>> writes:
> >> My only problem now is that I have no clue how to get at or where to
> >> look for the execution_monitor instance that I would need to change.
> >
> > You do not need execution_monitor instance. Yo ucan spacify runtime parameter
> > using either environment variable or CLA --catch_system_error=no
> True, but I would like to do this only for those tests that need it.
> That is, only for those tests that use the test fixture that provides
> the my_system() functionality. So if I have

1) I'd personally split this module in two and run one with and another without

2) You can use boost::unit_test::unit_test_monitor singleton to manipulate these
options at runtime. You'll have set and revert these values in fixture


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at