Files

79 lines
1.8 KiB
Plaintext
Raw Permalink 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
;
2019-10-15 21:07:40 +03:00
local rule endian-run ( sources + )
{
local result ;
2019-10-15 21:07:40 +03:00
result += [ run $(sources) ] ;
result += [ run $(sources) : : : <define>BOOST_ENDIAN_NO_INTRINSICS : $(sources[1]:B)_ni ] ;
2019-10-15 21:07:40 +03:00
return $(result) ;
}
endian-run buffer_test.cpp ;
endian-run endian_test.cpp ;
endian-run endian_operations_test.cpp ;
2018-12-06 17:51:38 +02:00
run endian_in_union_test.cpp ;
2019-10-15 21:07:40 +03:00
endian-run 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" ;
compile spirit_conflict_test.cpp
: $(allow-warnings) ;
2019-10-15 21:07:40 +03:00
endian-run endian_reverse_test.cpp ;
2019-04-27 02:15:39 +03:00
2019-10-15 21:07:40 +03:00
endian-run endian_load_test.cpp ;
endian-run endian_store_test.cpp ;
endian-run endian_ld_st_roundtrip_test.cpp ;
2019-04-27 02:40:47 +03:00
2019-10-15 21:07:40 +03:00
endian-run 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
2019-10-15 21:07:40 +03:00
endian-run load_convenience_test.cpp ;
endian-run store_convenience_test.cpp ;
2019-10-12 19:21:19 +03:00
2019-10-15 21:07:40 +03:00
endian-run float_typedef_test.cpp ;
2019-10-15 02:41:11 +03:00
2019-10-15 21:07:40 +03:00
endian-run data_test.cpp ;