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
|
|
|
|
|
#
|
|
|
|
|
|
2024-09-01 02:56:02 -05:00
|
|
|
project
|
|
|
|
|
: requirements
|
|
|
|
|
<include>../.. ;
|
|
|
|
|
|
2019-03-24 08:01:37 -07:00
|
|
|
local libs =
|
2024-09-04 06:53:50 +00:00
|
|
|
/boost/beast/test//lib-asio-ssl
|
2019-03-24 08:01:37 -07:00
|
|
|
/boost/beast/test//lib-test
|
2017-07-28 18:59:14 -07:00
|
|
|
;
|
|
|
|
|
|
2019-03-24 08:01:37 -07:00
|
|
|
local SOURCES =
|
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-25 16:00:50 -08:00
|
|
|
websocket.cpp
|
2019-02-25 17:14:04 -08:00
|
|
|
websocket_1_connecting.cpp
|
|
|
|
|
websocket_2_handshaking.cpp
|
|
|
|
|
websocket_3_decorator.cpp
|
|
|
|
|
websocket_4_messages.cpp
|
|
|
|
|
websocket_5_control_frames.cpp
|
|
|
|
|
websocket_6_timeouts.cpp
|
|
|
|
|
websocket_7_teardown.cpp
|
|
|
|
|
websocket_8_notes.cpp
|
2017-07-28 18:59:14 -07:00
|
|
|
;
|
|
|
|
|
|
2019-03-24 08:01:37 -07:00
|
|
|
local RUN_TESTS ;
|
|
|
|
|
|
|
|
|
|
RUN_TESTS +=
|
|
|
|
|
[ compile core_snippets.cpp $(libs) ]
|
|
|
|
|
[ compile http_snippets.cpp $(libs) ]
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
for local f in $(SOURCES)
|
|
|
|
|
{
|
|
|
|
|
RUN_TESTS += [ run $(f) $(libs) ] ;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
alias run-tests : $(RUN_TESTS) ;
|
|
|
|
|
|
|
|
|
|
exe fat-tests :
|
|
|
|
|
$(SOURCES)
|
|
|
|
|
$(libs)
|
|
|
|
|
;
|
|
|
|
|
|
2017-07-28 18:59:14 -07:00
|
|
|
explicit fat-tests ;
|
2018-12-18 09:46:28 -08:00
|
|
|
|
2019-03-24 08:01:37 -07:00
|
|
|
run $(SOURCES)
|
|
|
|
|
$(libs)
|
|
|
|
|
: : : : run-fat-tests ;
|
2018-12-18 09:46:28 -08:00
|
|
|
|
|
|
|
|
explicit run-fat-tests ;
|