Skip to content

Commit

Permalink
The right way to disable C++17+ tests on C++11
Browse files Browse the repository at this point in the history
  • Loading branch information
Kojoley committed Mar 31, 2019
1 parent 782ce16 commit dad4ce5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/tensor/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

import ../../config/checks/config : requires ;

project boost/ublas/test/tensor
: requirements
# these tests require C++17
<cxxstd>11:<build>no
<toolset>gcc:<cxxflags>"-Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-but-set-variable"
[ requires cxx17_if_constexpr ]
;

alias unit_test_framework
Expand Down

0 comments on commit dad4ce5

Please sign in to comment.