forked from boostorg/unordered
working on more compilers. The biggest change is that the exception tests have been changed to use a very simple exception testing mechanism on top of lightweight_test. This was because Boost.Test exception testing isn't working on several platforms. I'm trying to set this up so that I can use Boost.Test on compilers which it completely supports, and lightweight test on others. Boost.Test tests more than my simple exception testing code ever will so it's worth using where I can. [SVN r42698]
28 lines
933 B
Plaintext
28 lines
933 B
Plaintext
|
|
# Copyright 2006-2007 Daniel James.
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
import testing ;
|
|
|
|
#alias framework : /boost/test//boost_unit_test_framework ;
|
|
alias framework : ;
|
|
|
|
project unordered-test/exception-tests
|
|
: requirements
|
|
<toolset>intel-linux:"<cxxflags>-strict_ansi -cxxlib-icc"
|
|
<toolset>gcc:<cxxflags>-Wsign-promo
|
|
;
|
|
|
|
test-suite unordered-exception
|
|
:
|
|
[ run constructor_exception_tests.cpp framework ]
|
|
[ run copy_exception_tests.cpp framework ]
|
|
[ run assign_exception_tests.cpp framework ]
|
|
[ run insert_exception_tests.cpp framework ]
|
|
[ run erase_exception_tests.cpp framework ]
|
|
[ run rehash_exception_tests.cpp framework ]
|
|
[ run swap_exception_tests.cpp framework : : :
|
|
<define>BOOST_UNORDERED_SWAP_METHOD=2 ]
|
|
;
|