Files
boost_endian/test/Jamfile.v2
T

98 lines
2.1 KiB
Plaintext
Raw Normal View History

2008-05-30 15:26:33 +00:00
# Boost Endian Library test Jamfile
# 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
# 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
<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
;
2020-01-05 03:29:05 +02:00
local rule run-ni ( sources + )
2019-10-15 21:07:40 +03:00
{
2020-01-05 03:29:05 +02:00
return [ run $(sources) : : : <define>BOOST_ENDIAN_NO_INTRINSICS : $(sources[1]:B)_ni ] ;
2019-10-15 21:07:40 +03:00
}
2020-01-05 03:29:05 +02:00
run buffer_test.cpp ;
run-ni buffer_test.cpp ;
run endian_test.cpp ;
run-ni endian_test.cpp ;
run endian_operations_test.cpp ;
run-ni endian_operations_test.cpp ;
2018-12-06 17:51:38 +02:00
run endian_in_union_test.cpp ;
2020-01-05 03:29:05 +02:00
run conversion_test.cpp ;
run-ni conversion_test.cpp ;
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"
"-<toolset>gcc:<warnings-as-errors>on"
2019-03-18 21:51:08 +02:00
"-<toolset>clang:<warnings-as-errors>on" ;
2020-01-05 03:29:05 +02:00
compile spirit_conflict_test.cpp : $(allow-warnings) ;
2019-03-18 21:51:08 +02:00
2020-01-05 03:29:05 +02:00
run endian_reverse_test.cpp ;
run-ni endian_reverse_test.cpp ;
2019-04-27 02:15:39 +03:00
2020-01-05 03:29:05 +02:00
run endian_load_test.cpp ;
run-ni endian_load_test.cpp ;
2019-04-27 02:40:47 +03:00
2020-01-05 03:29:05 +02:00
run endian_store_test.cpp ;
run-ni endian_store_test.cpp ;
run endian_ld_st_roundtrip_test.cpp ;
run-ni endian_ld_st_roundtrip_test.cpp ;
run endian_arithmetic_test.cpp ;
run-ni endian_arithmetic_test.cpp ;
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 ;
2019-10-12 18:50:59 +03:00
2020-01-05 03:29:05 +02:00
run load_convenience_test.cpp ;
run-ni load_convenience_test.cpp ;
2019-10-12 19:21:19 +03:00
2020-01-05 03:29:05 +02:00
run store_convenience_test.cpp ;
run-ni store_convenience_test.cpp ;
2019-10-15 02:41:11 +03:00
2020-01-05 03:29:05 +02:00
run float_typedef_test.cpp ;
run-ni float_typedef_test.cpp ;
2019-10-22 19:41:49 +03:00
2020-01-05 03:29:05 +02:00
run data_test.cpp ;
run-ni data_test.cpp ;
run endian_hpp_test.cpp ;
run-ni endian_hpp_test.cpp ;
2020-01-05 01:32:57 +02:00
run order_test.cpp ;
run endian_reverse_test2.cpp ;