forked from boostorg/assert
Add <warning>extra to all tests, -Wshadow to gcc
This commit is contained in:
1 parent
b74531dd71
commit
264f98f32a
3 files changed
+18
-4
No files matched your search
+10
-4
@@ -1,14 +1,20 @@
|
||||
# Boost.Assert Library test Jamfile
|
||||
#
|
||||
# Copyright (c) 2014, 2017 Peter Dimov
|
||||
# Copyright (c) 2014, 2017, 2019 Peter Dimov
|
||||
#
|
||||
# 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
|
||||
|
||||
# bring in rules for testing
|
||||
import testing ;
|
||||
|
||||
project : requirements
|
||||
<warnings>extra
|
||||
<toolset>msvc:<warnings-as-errors>on
|
||||
<toolset>clang:<warnings-as-errors>on
|
||||
<toolset>gcc:<warnings-as-errors>on
|
||||
<toolset>gcc:<cxxflags>-Wshadow ;
|
||||
|
||||
run assert_test.cpp ;
|
||||
run current_function_test.cpp
|
||||
: : : <test-info>always_show_run_output ;
|
||||
@@ -29,6 +35,6 @@ run quick.cpp ;
|
||||
run current_function_test2.cpp ;
|
||||
|
||||
run source_location_test.cpp
|
||||
: : : <warnings>extra <warnings-as-errors>on ;
|
||||
: : : <toolset>gcc-4.4.7:<warnings-as-errors>off ;
|
||||
run source_location_test2.cpp
|
||||
: : : <warnings>extra <warnings-as-errors>on ;
|
||||
: : : <toolset>gcc-4.4.7:<warnings-as-errors>off ;
|
||||
Reference in new issue
Block a user