2008-05-30 15:26:33 +00:00
|
|
|
# Boost Endian Library test Jamfile
|
|
|
|
|
|
2013-03-18 19:38:25 -04:00
|
|
|
# Copyright Beman Dawes 2006, 2013
|
2019-03-20 02:25:54 +02:00
|
|
|
# Copyright 2018, 2019 Peter Dimov
|
2008-05-30 15:26:33 +00:00
|
|
|
|
2009-03-19 15:38:46 +00:00
|
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
|
|
|
# See http://www.boost.org/LICENSE_1_0.txt
|
2008-05-30 15:26:33 +00:00
|
|
|
|
2011-05-23 12:40:59 +00:00
|
|
|
# See library home page at http://www.boost.org/libs/endian
|
2008-05-30 15:26:33 +00:00
|
|
|
|
2018-12-06 17:51:38 +02:00
|
|
|
import testing ;
|
|
|
|
|
|
2019-02-19 01:50:23 +02:00
|
|
|
project
|
|
|
|
|
: default-build
|
|
|
|
|
|
|
|
|
|
<warnings>all
|
|
|
|
|
|
|
|
|
|
: requirements
|
|
|
|
|
|
|
|
|
|
<toolset>msvc:<warnings-as-errors>on
|
|
|
|
|
|
|
|
|
|
<toolset>gcc:<cxxflags>-Wno-long-long
|
2019-03-20 19:54:15 +02:00
|
|
|
<toolset>gcc-4.4.7:<cxxflags>-Wno-strict-aliasing
|
2019-04-27 06:49:39 +03:00
|
|
|
<toolset>gcc-4.4.7:<cxxflags>-Wno-sign-compare
|
2019-02-19 01:50:23 +02:00
|
|
|
<toolset>gcc:<warnings-as-errors>on
|
|
|
|
|
|
|
|
|
|
<toolset>clang:<cxxflags>-Wno-long-long
|
|
|
|
|
<toolset>clang:<warnings-as-errors>on
|
|
|
|
|
;
|
2019-02-19 01:05:40 +02:00
|
|
|
|
2018-12-06 17:51:38 +02:00
|
|
|
run buffer_test.cpp ;
|
2018-12-06 18:02:52 +02:00
|
|
|
run buffer_test.cpp : : : <define>BOOST_ENDIAN_NO_INTRINSICS : buffer_test_ni ;
|
|
|
|
|
|
2018-12-06 17:51:38 +02:00
|
|
|
run endian_test.cpp ;
|
2018-12-06 18:02:52 +02:00
|
|
|
run endian_test.cpp : : : <define>BOOST_ENDIAN_NO_INTRINSICS : endian_test_ni ;
|
|
|
|
|
|
2018-12-06 17:51:38 +02:00
|
|
|
run endian_operations_test.cpp ;
|
2018-12-06 18:02:52 +02:00
|
|
|
run endian_operations_test.cpp : : : <define>BOOST_ENDIAN_NO_INTRINSICS : endian_operations_test_ni ;
|
|
|
|
|
|
2018-12-06 17:51:38 +02:00
|
|
|
run endian_in_union_test.cpp ;
|
2018-12-06 18:02:52 +02:00
|
|
|
|
2018-12-06 17:51:38 +02:00
|
|
|
run conversion_test.cpp ;
|
2018-12-06 18:02:52 +02:00
|
|
|
run conversion_test.cpp : : : <define>BOOST_ENDIAN_NO_INTRINSICS : conversion_test_ni ;
|
|
|
|
|
|
2018-12-06 17:51:38 +02:00
|
|
|
run intrinsic_test.cpp ;
|
2019-01-06 20:32:19 +02:00
|
|
|
|
|
|
|
|
run quick.cpp ;
|
2019-03-13 02:12:48 +02:00
|
|
|
|
2019-03-18 21:51:08 +02:00
|
|
|
local allow-warnings =
|
|
|
|
|
"-<toolset>msvc:<warnings-as-errors>on"
|
2019-03-13 19:00:45 +02:00
|
|
|
"-<toolset>gcc:<warnings-as-errors>on"
|
2019-03-18 21:51:08 +02:00
|
|
|
"-<toolset>clang:<warnings-as-errors>on" ;
|
|
|
|
|
|
|
|
|
|
compile spirit_conflict_test.cpp
|
|
|
|
|
: $(allow-warnings) ;
|
|
|
|
|
|
2019-03-19 04:22:24 +02:00
|
|
|
run endian_reverse_test.cpp ;
|
2019-03-20 02:25:54 +02:00
|
|
|
run endian_reverse_test.cpp : : : <define>BOOST_ENDIAN_NO_INTRINSICS : endian_reverse_test_ni ;
|
2019-04-27 02:15:39 +03:00
|
|
|
|
|
|
|
|
run endian_load_test.cpp ;
|
|
|
|
|
run endian_load_test.cpp : : : <define>BOOST_ENDIAN_NO_INTRINSICS : endian_load_test_ni ;
|
2019-04-27 02:40:47 +03:00
|
|
|
|
2019-04-27 18:03:43 +03:00
|
|
|
run endian_store_test.cpp ;
|
|
|
|
|
run endian_store_test.cpp : : : <define>BOOST_ENDIAN_NO_INTRINSICS : endian_store_test_ni ;
|
|
|
|
|
|
2019-04-27 02:40:47 +03:00
|
|
|
run endian_ld_st_roundtrip_test.cpp ;
|
|
|
|
|
run endian_ld_st_roundtrip_test.cpp : : : <define>BOOST_ENDIAN_NO_INTRINSICS : endian_ld_st_roundtrip_test_ni ;
|
2019-04-28 00:58:51 +03:00
|
|
|
|
|
|
|
|
run endian_arithmetic_test.cpp ;
|
|
|
|
|
run endian_arithmetic_test.cpp : : : <define>BOOST_ENDIAN_NO_INTRINSICS : endian_arithmetic_test_ni ;
|
2019-04-29 00:36:21 +03:00
|
|
|
|
|
|
|
|
run deprecated_test.cpp ;
|
2019-10-11 19:42:32 +03:00
|
|
|
|
|
|
|
|
compile endian_reverse_cx_test.cpp ;
|
|
|
|
|
compile endian_reverse_cx_test.cpp : <define>BOOST_ENDIAN_NO_INTRINSICS : endian_reverse_cx_test_ni ;
|