• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Boost circular_buffer test Jamfile.
2#
3# Copyright (c) 2003-2008 Jan Gaspar
4#
5# Distributed under the Boost Software License, Version 1.0. (See
6# accompanying file LICENSE_1_0.txt or copy at
7# http://www.boost.org/LICENSE_1_0.txt)
8
9# Added warning suppression Paul A. Bristow 25 Nov 2008
10
11# Bring in rules for testing.
12import testing ;
13
14project
15    : requirements
16      <toolset>msvc:<warnings>all
17      <toolset>msvc:<asynch-exceptions>on
18      <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
19      <toolset>msvc:<cxxflags>/wd4996 # 'function': was declared deprecated
20      <toolset>msvc:<cxxflags>/wd4244 # conversion from 'int' to 'unsigned short', possible loss of data
21      # in date-time
22      ;
23
24test-suite "circular_buffer"
25  : [ run base_test.cpp : : : <threading>single : ]
26    [ run space_optimized_test.cpp : : : <threading>single : ]
27    [ run base_test.cpp : : : <threading>single <define>"BOOST_CB_ENABLE_DEBUG=1" : base_test_dbg ]
28    [ run space_optimized_test.cpp : : : <threading>single <define>"BOOST_CB_ENABLE_DEBUG=1" : space_optimized_test_dbg ]
29    [ run soft_iterator_invalidation.cpp : : : <threading>single : ]
30    [ run constant_erase_test.cpp : : : <threading>single : ]
31    [ compile bounded_buffer_comparison.cpp : <threading>multi : ]
32  ;
33