mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 11:27:15 +02:00
Also move exception tests into test/Jamfile.v2
Moving the tests successfully restored the test results, so do it for the exception tests as well.
This commit is contained in:
@ -3,8 +3,6 @@
|
|||||||
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
# 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)
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
project unordered-test ;
|
|
||||||
|
|
||||||
import testing ;
|
import testing ;
|
||||||
|
|
||||||
project unordered-test/unordered
|
project unordered-test/unordered
|
||||||
@ -17,6 +15,9 @@ project unordered-test/unordered
|
|||||||
<toolset>darwin:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow"
|
<toolset>darwin:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow"
|
||||||
;
|
;
|
||||||
|
|
||||||
|
#alias framework : /boost/test//boost_unit_test_framework ;
|
||||||
|
alias framework : ;
|
||||||
|
|
||||||
test-suite unordered
|
test-suite unordered
|
||||||
:
|
:
|
||||||
[ run unordered/fwd_set_test.cpp ]
|
[ run unordered/fwd_set_test.cpp ]
|
||||||
@ -64,4 +65,14 @@ test-suite unordered
|
|||||||
: bmove_assign ]
|
: bmove_assign ]
|
||||||
;
|
;
|
||||||
|
|
||||||
build-project exception ;
|
test-suite unordered-exception
|
||||||
|
:
|
||||||
|
[ run exception/constructor_exception_tests.cpp framework ]
|
||||||
|
[ run exception/copy_exception_tests.cpp framework ]
|
||||||
|
[ run exception/assign_exception_tests.cpp framework ]
|
||||||
|
[ run exception/insert_exception_tests.cpp framework ]
|
||||||
|
[ run exception/erase_exception_tests.cpp framework ]
|
||||||
|
[ run exception/rehash_exception_tests.cpp framework ]
|
||||||
|
[ run exception/swap_exception_tests.cpp framework : : :
|
||||||
|
<define>BOOST_UNORDERED_SWAP_METHOD=2 ]
|
||||||
|
;
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
|
|
||||||
# Copyright 2006-2008 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
|
|
||||||
<warnings>all
|
|
||||||
<toolset>intel:<warnings>on
|
|
||||||
<toolset>gcc:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow -Wno-long-long"
|
|
||||||
<toolset>darwin:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow"
|
|
||||||
;
|
|
||||||
|
|
||||||
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 ]
|
|
||||||
;
|
|
Reference in New Issue
Block a user