# 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
# 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 ]
[ 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 :
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 ;
# 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 ;
explicit cxx17 ;
explicit failure ;
explicit threading ;
+explicit not_windows ;
explicit accumulators ;
explicit range ;
explicit units ;
explicit serialization ;
explicit libserial ;
+explicit optional_boost ;