Boost logo

Boost-Build :

Subject: Re: [Boost-build] trouble with test-suite
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-07-24 13:38:31


AMDG

Jonathan Brannan wrote:
> I have a simple Jamfile with just this:
> import testing ;
>
> test-suite Simple_String_Compile_Fail_ut :
> [ testing.compile-fail Simple_String_Compile_Fail_ut.cpp /boost//headers ]
> ;
>
> and a blank Jamroot
>
> When I run Simple_String_Compile_Fail_ut
> I get :
> error: No best alternative for ./Simple_String_Compile_Fail_ut
> next alternative: required properties: (empty)
> matched
> next alternative: required properties: (empty)
> matched
>
> I've looked at the Jamfiles in boost that use this and it seems to
> work with the same syntax. Is there some magic in my Jamroot I need?
>

Best to leave out test-suite entirely.

testing.compile-fail Simple_String_Compile_Fail_ut.cpp /boost//headers ;

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk