|
Boost : |
Subject: Re: [boost] [build] conditional run of unit-tests?
From: Edward Diener (eldiener_at_[hidden])
Date: 2017-05-30 12:38:15
On 5/30/2017 6:50 AM, Oliver Kowalke via Boost wrote:
> In the unit tests I want conditionally run some unit-tests - depending on
> property <target-os>-
> On Windows systems the unit-test should apply/build with property <context-
> impl>winfib and on POSIX (non-Windows) <context-impl>ucontext.
>
> The Jamfile below doesn't work (Windows version build on POSIX) - xould I
> get a hint how to fix it
> (couldn't find a reference of rule 'run').
http://www.boost.org/build/doc/html/bbv2/builtins/testing.html
>
> Oliver
>
>
> [ run test_callcc.cpp :
> : :
> <context-impl>fcontext
> [ requires cxx11_auto_declarations
> cxx11_constexpr
> cxx11_defaulted_functions
> cxx11_final
> cxx11_hdr_thread
> cxx11_hdr_tuple
> cxx11_lambdas
> cxx11_noexcept
> cxx11_nullptr
> cxx11_rvalue_references
> cxx11_template_aliases
> cxx11_thread_local
> cxx11_variadic_templates ]
> : test_callcc_fcontext ]
>
> [ run test_callcc.cpp :
> : :
> <context-impl>ucontext
> [ requires cxx11_auto_declarations
> cxx11_constexpr
> cxx11_defaulted_functions
> cxx11_final
> cxx11_hdr_thread
> cxx11_hdr_tuple
> cxx11_lambdas
> cxx11_noexcept
> cxx11_nullptr
> cxx11_rvalue_references
> cxx11_template_aliases
> cxx11_thread_local
> cxx11_variadic_templates ]
> : test_callcc_ucontext ]
>
> [ run test_callcc.cpp :
> : :
> <context-impl>winfib
> [ requires cxx11_auto_declarations
> cxx11_constexpr
> cxx11_defaulted_functions
> cxx11_final
> cxx11_hdr_thread
> cxx11_hdr_tuple
> cxx11_lambdas
> cxx11_noexcept
> cxx11_nullptr
> cxx11_rvalue_references
> cxx11_template_aliases
> cxx11_thread_local
> cxx11_variadic_templates ]
> : test_callcc_winfib
> : <target-os>windows ] ;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk