Blame view

3rdparty/boost_1_81_0/libs/endian/test/Jamfile.v2 2.64 KB
977ed18d   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
  # Boost Endian Library test Jamfile
  
  # Copyright Beman Dawes 2006, 2013
  # Copyright 2018, 2019 Peter Dimov
  
  # Distributed under the Boost Software License, Version 1.0.
  # See http://www.boost.org/LICENSE_1_0.txt
  
  # See library home page at http://www.boost.org/libs/endian
  
  import testing ;
  
  project
    : default-build
  
      <warnings>pedantic
  
    : requirements
  
      <toolset>msvc:<warnings-as-errors>on
  
      <toolset>gcc:<cxxflags>-Wno-long-long
      <toolset>gcc-4.4:<cxxflags>-Wno-strict-aliasing
      <toolset>gcc-4.4:<cxxflags>-Wno-sign-compare
      <toolset>gcc:<warnings-as-errors>on
  
      <toolset>clang:<cxxflags>-Wno-long-long
      <toolset>clang:<warnings-as-errors>on
    ;
  
  local rule run-ni ( sources + )
  {
      return [ run $(sources) : : : <define>BOOST_ENDIAN_NO_INTRINSICS : $(sources[1]:B)_ni ] ;
  }
  
  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 ;
  
  run endian_in_union_test.cpp ;
  
  run conversion_test.cpp ;
  run-ni conversion_test.cpp ;
  
  run intrinsic_test.cpp ;
  
  run quick.cpp ;
  
  run endian_reverse_test.cpp ;
  run-ni endian_reverse_test.cpp ;
  
  run endian_load_test.cpp ;
  run-ni endian_load_test.cpp ;
  
  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
      : : : "<toolset>gcc,<address-model>32:<cxxflags>-ffloat-store" ;
  run endian_arithmetic_test.cpp : : :
      "<toolset>gcc,<address-model>32:<cxxflags>-ffloat-store" <define>BOOST_ENDIAN_NO_INTRINSICS : endian_arithmetic_test_ni ;
  
  run deprecated_test.cpp ;
  
  compile endian_reverse_cx_test.cpp ;
  compile endian_reverse_cx_test.cpp : <define>BOOST_ENDIAN_NO_INTRINSICS : endian_reverse_cx_test_ni ;
  
  run load_convenience_test.cpp ;
  run-ni load_convenience_test.cpp ;
  
  run store_convenience_test.cpp ;
  run-ni store_convenience_test.cpp ;
  
  run float_typedef_test.cpp
      : : : "<toolset>gcc,<address-model>32:<cxxflags>-ffloat-store" ;
  run float_typedef_test.cpp : : :
      "<toolset>gcc,<address-model>32:<cxxflags>-ffloat-store" <define>BOOST_ENDIAN_NO_INTRINSICS : float_typedef_test_ni ;
  
  run data_test.cpp ;
  run-ni data_test.cpp ;
  
  run endian_hpp_test.cpp ;
  run-ni endian_hpp_test.cpp ;
  
  run order_test.cpp ;
  
  run endian_reverse_test2.cpp ;
  run-ni endian_reverse_test2.cpp ;
  
  run is_scoped_enum_test.cpp ;
  
  run endian_reverse_test3.cpp ;
  run-ni endian_reverse_test3.cpp ;
  
  run endian_reverse_test4.cpp ;
  run-ni endian_reverse_test4.cpp ;
  
  run endian_reverse_test5.cpp ;
  run-ni endian_reverse_test5.cpp ;
  
  run packed_buffer_test.cpp ;
  run arithmetic_buffer_test.cpp ;
  run packed_arithmetic_test.cpp ;