From 6f70ee87a3217572459c0daa439f365dc3294434 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 23 Jan 2024 18:24:55 +0200 Subject: [PATCH] Disable Serialization tests for C++03 --- test/Jamfile.v2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index bff2deb..11fc013 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -378,7 +378,11 @@ run memory_resource_test.cpp ; run data_test.cpp ; run size_test.cpp ; -local with-serialization = /boost//serialization/off $(warnings-as-errors-off) norecover:static ; +import ../../config/checks/config : requires ; + +local CPP11 = [ requires cxx11_variadic_templates cxx11_template_aliases cxx11_decltype cxx11_constexpr cxx11_noexcept ] ; + +local with-serialization = /boost//serialization/off $(warnings-as-errors-off) norecover:static $(CPP11) ; run serialization_nvp_test.cpp : : : $(with-serialization) norecover:no ; run serialization_split_free_test.cpp : : : $(with-serialization) ;