ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
[boost] Re: [Boost.Test] New testing procedure?
by David Abrahams other posts by this author
May 23 2004 2:08AM messages near this date
RE: [boost] Re: [Boost.Test] New testing procedure? | [boost] Re: [Boost.Test] New testing procedure?
"Reece Dunn" <msclrhd@[...].com>  writes:

>  Is it possible to add the level as a parameter like how you can
>  configure static/dynamic linking, e.g.:
> 
>     test basic : basic.cpp : <level>basic ;
>     test complete : complete.cpp : <level>torture ;
> 
>  # basic-tests.sh
>     bjam ... basic-test
> 
>  # full-tests.sh
>     bjam ... full-test

It's easy enough to do something like that.  You could just make
an additional "torture-test" target so you can do:

  bjam test

or

  bjam torture-test


or you could simply write in the Jamfile:

  if --torture in $(ARGV)
  {
     # more tests here
  }

and then:

  bjam --torture test

which would make bjam faster for the non-torture cases.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Reece Dunn
David Abrahams
David Abrahams

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved