List Info

Thread: Test suite wide requirements?




Test suite wide requirements?
user name
2006-03-08 08:49:54
I'm trying to specify dynamic rounding mode on the compiler
command line 
for the numeric interval tests.

What I would like to do is best expressed by the following:

project
   :
   source-location $(BOOST_ROOT)
   requirements
    
<toolset>hp_cxx:<os>tru64:<compileflags>-m
fp-rounding-mode=d
    
<toolset>gcc:<os>tru64:<compileflags>&quo
t;-fprm d"
   ;

# bring in rules for testing
import testing ;

{
   test-suite numeric/interval :
     [...]
   ;
}

This doesn't work, so here are my questions:

1. No matter what I specify for the requirements (I tried 
<compileflags>-mfp-rounding-mode=d without anything
else), it doesn't show 
up on the compiler command line for the tests. How do I
specify 
requirements for the test suite?

2. I'm assuming that <os>tru64 is not a valid
requirement. What would be 
the correct specification for this?

3. Is there a reference of all build features and there
possible values for 
V2 available somewhere? I didn't find it in the
documentation.

4. Does <compileflags>"-fprm d" work, or
do I need <compileflags>-fprm 
<compileflags>d like in V1?

TIA, Markus

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )