Boost logo

Boost :

Subject: Re: [boost] [test] How to execute shell commands
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-09-28 20:55:03


On 09/28/2018 02:38 PM, mike via Boost wrote:
>> -----Original Message-----
>> From: Boost <boost-bounces_at_[hidden]> On Behalf Of Raffi Enficiaud via Boost
>> Sent: Friday, September 28, 2018 10:09 PM
>> On 28.09.18 10:15, Mike Dev via Boost wrote:
>>> Does the boost unit test frame work provide a way to write a test that executes a couple
>> of shell commands?
>>> Specifically, I want to write a test that compiles a cmake project:
>> Nope, you have to use cmake tools for that.
> I'm not asking b2 / boost test to understand and process a cmake file. Just to execute
> some shell commands and run a executable that is installed on the system.

Your question was unclear, as it sounded like
you were asking about the Boost.Test library,
which has no specific integration with b2 beyond
any other separately compiled Boost library.

To run shell commands with b2 see:

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at