Files

82 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

2017-07-20 08:01:46 -07:00
#
2017-07-24 09:42:36 -07:00
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
2017-07-20 08:01:46 -07:00
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
2017-07-20 13:40:34 -07:00
# Official repository: https://github.com/boostorg/beast
#
2017-07-20 08:01:46 -07:00
2017-10-16 07:23:33 -07:00
import testing ;
import ../../config/checks/config : requires ;
lib lib-test
: lib_test.cpp
: requirements
<link>static
$(defines)
: usage-requirements
<include>./extras/include
$(defines)
;
2017-08-01 18:11:51 +01:00
project /boost/beast/test
2017-07-31 15:27:41 -07:00
: requirements
2017-10-16 07:23:33 -07:00
[ requires
cxx11_constexpr
2017-10-16 07:23:33 -07:00
cxx11_decltype
cxx11_hdr_tuple
#cxx11_sfinae_expr # Every MSVC fails this
cxx11_template_aliases
cxx11_variadic_templates
]
2017-07-31 15:27:41 -07:00
<include>./extern
<define>BOOST_BEAST_TESTS
<target-os>darwin:<define>Z_HAVE_UNISTD_H=1
<library>/boost/beast//lib-asio/<link>static
<boost.beast.separate-compilation>on:<library>/boost/beast//lib-beast/<link>static
<library>/boost/filesystem//boost_filesystem
<library>/boost/coroutine//boost_coroutine
2017-07-31 15:27:41 -07:00
;
path-constant ZLIB_SOURCES :
extern/zlib-1.2.12/adler32.c
extern/zlib-1.2.12/compress.c
extern/zlib-1.2.12/crc32.c
extern/zlib-1.2.12/deflate.c
#extern/zlib-1.2.12/gzclose.c
#extern/zlib-1.2.12/gzlib.c
#extern/zlib-1.2.12/gzread.c
#extern/zlib-1.2.12/gzwrite.c
extern/zlib-1.2.12/infback.c
extern/zlib-1.2.12/inffast.c
extern/zlib-1.2.12/inflate.c
extern/zlib-1.2.12/inftrees.c
extern/zlib-1.2.12/trees.c
extern/zlib-1.2.12/uncompr.c
extern/zlib-1.2.12/zutil.c
2017-07-31 15:27:41 -07:00
;
2017-07-25 19:46:53 -07:00
alias run-tests :
2017-07-28 18:59:14 -07:00
beast//run-tests
2017-07-30 17:14:47 -07:00
bench//run-tests
2017-07-28 18:59:14 -07:00
doc//run-tests
example//run-tests
2017-07-25 19:46:53 -07:00
;
2017-07-28 18:59:14 -07:00
alias fat-tests :
beast//fat-tests
doc//fat-tests
example//fat-tests
2017-07-25 19:46:53 -07:00
;
2017-07-28 18:59:14 -07:00
explicit fat-tests ;
alias run-fat-tests :
beast//run-fat-tests
doc//run-fat-tests
example//run-fat-tests
;
explicit run-fat-tests ;