]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/histogram/test/Jamfile
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / histogram / test / Jamfile
index cce99f4fa102e761a6c15d0d01b222cb5eb28980..a61e16ce99a3ca46b540ec9313e2a9364d94f8bf 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 2016-2017 Klemens David Morgenstern
 # Copyright 2018 Mateusz Loskot <mateusz@loskot.net>
-# Copyright 2018-2019 Hans Dembinski
+# Copyright 2018-2021 Hans Dembinski
 #
 # Use, modification and distribution is subject to the Boost Software License,
 # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
@@ -45,7 +45,6 @@ alias cxx14 :
       # make sure sum accumulator works even with -ffast-math and optimizations
       <toolset>gcc:<cxxflags>"-O3 -ffast-math"
       <toolset>clang:<cxxflags>"-O3 -ffast-math" ]
-    [ run accumulators_thread_safe_test.cpp ]
     [ run accumulators_weighted_mean_test.cpp ]
     [ run accumulators_weighted_sum_test.cpp ]
     [ run algorithm_project_test.cpp ]
@@ -83,12 +82,12 @@ alias cxx14 :
     [ run histogram_growing_test.cpp ]
     [ run histogram_mixed_test.cpp ]
     [ run histogram_operators_test.cpp ]
-    [ run histogram_ostream_test.cpp ]
     [ run histogram_test.cpp ]
     [ run indexed_test.cpp ]
     [ run storage_adaptor_test.cpp ]
     [ run unlimited_storage_test.cpp ]
     [ run utility_test.cpp ]
+    [ run issue_327_test.cpp ]
     ;
 
 alias cxx17 :
@@ -123,10 +122,18 @@ alias failure :
 alias threading :
     [ run histogram_threaded_test.cpp ]
     [ run storage_adaptor_threaded_test.cpp ]
+    [ run accumulators_count_thread_safe_test.cpp ]
+    [ run accumulators_thread_safe_test.cpp ]
     :
     <threading>multi
     ;
 
+# tests do not work on windows, because environment variables cannot be set
+alias not_windows :
+    [ run histogram_ostream_test.cpp : : : <testing.launcher>"LANG=UTF" ]
+    [ run histogram_ostream_ascii_test.cpp : : : <testing.launcher>"LANG=FOO COLUMNS=20" ]
+    ;
+
 # warnings are off for these other boost libraries, which tend to be not warning-free
 alias accumulators : [ run boost_accumulators_support_test.cpp ] : <warnings>off ;
 alias range : [ run boost_range_support_test.cpp ] : <warnings>off ;
@@ -150,11 +157,14 @@ alias libserial :
 # for builds without optional boost dependencies
 alias minimal : cxx14 cxx17 failure threading ;
 
+# for builds with optional boost dependencies
+alias optional_boost : accumulators range units serialization ;
+
 # all tests
-alias all : minimal odr accumulators range units serialization ;
+alias all : minimal not_windows odr optional_boost ;
 
 # all except "failure", because it is distracting during development
-alias develop : cxx14 cxx17 threading odr accumulators range units serialization ;
+alias develop : odr cxx14 cxx17 threading not_windows optional_boost ;
 
 explicit minimal ;
 explicit all ;
@@ -163,8 +173,10 @@ explicit cxx14 ;
 explicit cxx17 ;
 explicit failure ;
 explicit threading ;
+explicit not_windows ;
 explicit accumulators ;
 explicit range ;
 explicit units ;
 explicit serialization ;
 explicit libserial ;
+explicit optional_boost ;