mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-09 23:04:07 +00:00
define restricted environment and make tests compile in it
This commit is contained in:
parent
b801e4ecd8
commit
1de7cf8bad
6
Jamfile
6
Jamfile
@ -27,14 +27,14 @@ variant histogram_ubasan : debug :
|
||||
|
||||
# only works with gcc-5
|
||||
variant histogram_coverage : debug :
|
||||
<cxxstd>latest
|
||||
<cxxflags>"--coverage"
|
||||
<linkflags>"--coverage"
|
||||
;
|
||||
|
||||
variant histogram_no_exceptions : debug :
|
||||
<cxxstd>latest
|
||||
# for restricted environments without rtti and exceptions
|
||||
variant histogram_restricted : debug :
|
||||
<exception-handling>off
|
||||
<rtti>off
|
||||
;
|
||||
|
||||
build-project test ;
|
||||
|
@ -99,12 +99,14 @@ alias serialization :
|
||||
[ run histogram_serialization_test.cpp libserial ]
|
||||
[ run storage_adaptor_serialization_test.cpp libserial ]
|
||||
[ run unlimited_storage_serialization_test.cpp libserial ]
|
||||
:
|
||||
<rtti>on # required by Boost.Serialization
|
||||
;
|
||||
|
||||
alias libserial :
|
||||
/boost/serialization//boost_serialization
|
||||
:
|
||||
<link>static <warnings>off
|
||||
<link>static <warnings>off <rtti>on
|
||||
;
|
||||
|
||||
# "failure" not included in "all", because it is distracting
|
||||
|
Loading…
x
Reference in New Issue
Block a user