mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-11 05:07:58 +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
|
# only works with gcc-5
|
||||||
variant histogram_coverage : debug :
|
variant histogram_coverage : debug :
|
||||||
<cxxstd>latest
|
|
||||||
<cxxflags>"--coverage"
|
<cxxflags>"--coverage"
|
||||||
<linkflags>"--coverage"
|
<linkflags>"--coverage"
|
||||||
;
|
;
|
||||||
|
|
||||||
variant histogram_no_exceptions : debug :
|
# for restricted environments without rtti and exceptions
|
||||||
<cxxstd>latest
|
variant histogram_restricted : debug :
|
||||||
<exception-handling>off
|
<exception-handling>off
|
||||||
|
<rtti>off
|
||||||
;
|
;
|
||||||
|
|
||||||
build-project test ;
|
build-project test ;
|
||||||
|
@ -99,12 +99,14 @@ alias serialization :
|
|||||||
[ run histogram_serialization_test.cpp libserial ]
|
[ run histogram_serialization_test.cpp libserial ]
|
||||||
[ run storage_adaptor_serialization_test.cpp libserial ]
|
[ run storage_adaptor_serialization_test.cpp libserial ]
|
||||||
[ run unlimited_storage_serialization_test.cpp libserial ]
|
[ run unlimited_storage_serialization_test.cpp libserial ]
|
||||||
|
:
|
||||||
|
<rtti>on # required by Boost.Serialization
|
||||||
;
|
;
|
||||||
|
|
||||||
alias libserial :
|
alias libserial :
|
||||||
/boost/serialization//boost_serialization
|
/boost/serialization//boost_serialization
|
||||||
:
|
:
|
||||||
<link>static <warnings>off
|
<link>static <warnings>off <rtti>on
|
||||||
;
|
;
|
||||||
|
|
||||||
# "failure" not included in "all", because it is distracting
|
# "failure" not included in "all", because it is distracting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user