$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2020-05-16 14:57:45
On 2020-05-16 17:50, Alexander Grund via Boost wrote:
>> https://github.com/boostorg/poly_collection/blob/develop/test/Jamfile.v2
>
> As another note on that: I have a test to be run on windows only by using:
> <build>no <target-os>windows:<build>yes
>
> This now also breaks BJam as it sees a <build>no by the C++11 requirements and a <build>yes by the above :(
> No idea how to solve that.
You could write a local rule that determines when to build the test. You
can see an example here:
https://github.com/boostorg/filesystem/blob/92522691601533a2afdec9bdecb976741d614fdc/test/Jamfile.v2#L29
https://github.com/boostorg/filesystem/blob/92522691601533a2afdec9bdecb976741d614fdc/test/Jamfile.v2#L81