From 1de7cf8bad64489d156cc0e047fb7e7d0bb6e4ef Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Fri, 7 Jun 2019 13:41:31 +0200 Subject: [PATCH] define restricted environment and make tests compile in it --- Jamfile | 6 +++--- test/Jamfile | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Jamfile b/Jamfile index 2d816cb2..1139f255 100644 --- a/Jamfile +++ b/Jamfile @@ -27,14 +27,14 @@ variant histogram_ubasan : debug : # only works with gcc-5 variant histogram_coverage : debug : - latest "--coverage" "--coverage" ; -variant histogram_no_exceptions : debug : - latest +# for restricted environments without rtti and exceptions +variant histogram_restricted : debug : off + off ; build-project test ; diff --git a/test/Jamfile b/test/Jamfile index e584f51d..15b6d89a 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -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 ] + : + on # required by Boost.Serialization ; alias libserial : /boost/serialization//boost_serialization : - static off + static off on ; # "failure" not included in "all", because it is distracting