2017-07-28 18:59:14 -07:00
|
|
|
#
|
|
|
|
|
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
|
|
|
|
#
|
|
|
|
|
# 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)
|
|
|
|
|
#
|
|
|
|
|
# Official repository: https://github.com/boostorg/beast
|
|
|
|
|
#
|
|
|
|
|
|
2019-01-10 20:25:10 -08:00
|
|
|
import ac ;
|
|
|
|
|
|
|
|
|
|
project
|
|
|
|
|
: requirements
|
|
|
|
|
[ ac.check-library /boost/beast//ssl : <library>/boost/beast//ssl : <build>no ]
|
|
|
|
|
<library>/boost/beast//crypto
|
|
|
|
|
;
|
|
|
|
|
|
2017-07-28 18:59:14 -07:00
|
|
|
alias run-tests :
|
|
|
|
|
[ compile core_snippets.cpp ]
|
|
|
|
|
[ compile http_snippets.cpp ]
|
|
|
|
|
[ compile websocket_snippets.cpp ]
|
2019-02-01 04:16:05 -08:00
|
|
|
[ run core_1_refresher.cpp $(TEST_MAIN) ]
|
2019-02-23 21:00:58 -08:00
|
|
|
[ run core_3_timeouts.cpp $(TEST_MAIN) ]
|
|
|
|
|
[ run core_4_layers.cpp $(TEST_MAIN) ]
|
2019-02-23 12:04:48 -08:00
|
|
|
[ run http_10_custom_parser.cpp $(TEST_MAIN) ]
|
2017-07-28 18:59:14 -07:00
|
|
|
[ run http_examples.cpp $(TEST_MAIN) ]
|
2019-02-17 16:03:09 -08:00
|
|
|
[ run websocket_3_handshake.cpp $(TEST_MAIN) ]
|
2017-07-28 18:59:14 -07:00
|
|
|
;
|
|
|
|
|
|
|
|
|
|
exe fat-tests :
|
|
|
|
|
$(TEST_MAIN)
|
2019-02-01 04:16:05 -08:00
|
|
|
core_1_refresher.cpp
|
2019-02-23 21:00:58 -08:00
|
|
|
core_3_timeouts.cpp
|
|
|
|
|
core_4_layers.cpp
|
2019-02-23 12:04:48 -08:00
|
|
|
http_10_custom_parser.cpp
|
2017-07-28 18:59:14 -07:00
|
|
|
http_examples.cpp
|
2019-02-17 16:03:09 -08:00
|
|
|
websocket_3_handshake.cpp
|
2017-07-28 18:59:14 -07:00
|
|
|
;
|
|
|
|
|
|
|
|
|
|
explicit fat-tests ;
|
2018-12-18 09:46:28 -08:00
|
|
|
|
|
|
|
|
run $(TEST_MAIN) $(SOURCES) : : : : run-fat-tests ;
|
|
|
|
|
|
|
|
|
|
explicit run-fat-tests ;
|