Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-22 10:40:41


"Jeff Garland" <jeff_at_[hidden]> writes:

>> > Is there some way to do this?
>>
>> Yeah, just use different names for the two tests. The signature of the
>> run rule is:
>>
>> run ( sources + : args * : input-files * : requirements * : name ? : default-build * )
>
> Ok here is a snippet of my actual Jamfile. For some reason only the first
> of these gets built and run. Any ideas?
>
> test-suite date_time_posixtime
> :
> [ run posix_time/testc_local_adjustor.cpp
> <lib>../build/boost_date_time
> : : : <define>DATE_TIME_INLINE <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG ]
> # bunch of other tests

THis one is named testc_local_adjustor
> ;
>
> #test the 64bit configuration
> test-suite date_time_posixtime_64bit
> :
> [ run posix_time/testc_local_adjustor.cpp
> <lib>../build/boost_date_time
> : : 64b_local_adjustor : <define>DATE_TIME_INLINE ]

So is this one.

?? I guess you failed to add the names to distinguish them:

   test-suite date_time_posixtime
     :
   [ run posix_time/testc_local_adjustor.cpp
     <lib>../build/boost_date_time
    : # args
    : # input files
    : # requirements
      <define>DATE_TIME_INLINE
      <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
     : # name
       test1
   ]
   # bunch of other tests
  ;

   #test the 64bit configuration
   test-suite date_time_posixtime_64bit
     :
   [ run posix_time/testc_local_adjustor.cpp
     <lib>../build/boost_date_time
    : # args
    : # input files
      64b_local_adjustor
    : # requirements
      <define>DATE_TIME_INLINE
     : # name
       test2
  ]
  ;

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk