It seems to be caused by having the alias the same name as the file I pass to compile-fail. Either renaming the alias or giving compile a target with diffrent name seems to work correctly.
Well, I wanted 2 things to be run as one command on the cmd line (one compile and one compile-fail).On Fri, Jul 24, 2009 at 1:38 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDGBest to leave out test-suite entirely.
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?
testing.compile-fail Simple_String_Compile_Fail_ut.cpp /boost//headers ;
In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build