]>
Commit | Line | Data |
---|---|---|
b32b8144 FG |
1 | # |
2 | # Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) | |
3 | # | |
4 | # Distributed under the Boost Software License, Version 1.0. (See accompanying | |
5 | # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
6 | # | |
7 | # Official repository: https://github.com/boostorg/beast | |
8 | # | |
9 | ||
10 | import testing ; | |
11 | import ../../config/checks/config : requires ; | |
12 | ||
92f5a8d4 TL |
13 | lib lib-test |
14 | : lib_test.cpp | |
15 | : requirements | |
16 | <link>static | |
17 | $(defines) | |
18 | : usage-requirements | |
19 | <include>./extras/include | |
20 | $(defines) | |
21 | ; | |
22 | ||
b32b8144 FG |
23 | project /boost/beast/test |
24 | : requirements | |
25 | [ requires | |
26 | cxx11_constexpr | |
27 | cxx11_decltype | |
28 | cxx11_hdr_tuple | |
92f5a8d4 | 29 | #cxx11_sfinae_expr # Every MSVC fails this |
b32b8144 FG |
30 | cxx11_template_aliases |
31 | cxx11_variadic_templates | |
32 | ] | |
33 | <include>./extern | |
92f5a8d4 TL |
34 | <define>BOOST_BEAST_TESTS |
35 | <library>/boost/beast//lib-asio/<link>static | |
36 | <boost.beast.separate-compilation>on:<library>/boost/beast//lib-beast/<link>static | |
37 | <library>/boost/filesystem//boost_filesystem | |
38 | <library>/boost/coroutine//boost_coroutine | |
b32b8144 FG |
39 | ; |
40 | ||
41 | path-constant ZLIB_SOURCES : | |
42 | extern/zlib-1.2.11/adler32.c | |
43 | extern/zlib-1.2.11/compress.c | |
44 | extern/zlib-1.2.11/crc32.c | |
45 | extern/zlib-1.2.11/deflate.c | |
46 | extern/zlib-1.2.11/infback.c | |
47 | extern/zlib-1.2.11/inffast.c | |
48 | extern/zlib-1.2.11/inflate.c | |
49 | extern/zlib-1.2.11/inftrees.c | |
50 | extern/zlib-1.2.11/trees.c | |
51 | extern/zlib-1.2.11/uncompr.c | |
52 | extern/zlib-1.2.11/zutil.c | |
53 | ; | |
54 | ||
55 | alias run-tests : | |
56 | beast//run-tests | |
57 | bench//run-tests | |
58 | doc//run-tests | |
59 | example//run-tests | |
60 | ; | |
61 | ||
62 | alias fat-tests : | |
63 | beast//fat-tests | |
64 | doc//fat-tests | |
65 | example//fat-tests | |
66 | ; | |
67 | ||
68 | explicit fat-tests ; | |
92f5a8d4 TL |
69 | |
70 | alias run-fat-tests : | |
71 | beast//run-fat-tests | |
72 | doc//run-fat-tests | |
73 | example//run-fat-tests | |
74 | ; | |
75 | ||
76 | explicit run-fat-tests ; |