File tree Expand file tree Collapse file tree 2 files changed +54
-2
lines changed Expand file tree Collapse file tree 2 files changed +54
-2
lines changed Original file line number Diff line number Diff line change
1
+
2
+ import ../config/checks/config : requires ;
3
+ import ac ;
4
+
5
+ using openssl ;
6
+
7
+ local requirements =
8
+ <define>BOOST_ALL_NO_LIB=1
9
+ <define>BOOST_ASIO_NO_DEPRECATED=1
10
+ <define>BOOST_ASIO_DISABLE_BOOST_ARRAY=1
11
+ <define>BOOST_ASIO_DISABLE_BOOST_BIND=1
12
+ <define>BOOST_ASIO_DISABLE_BOOST_DATE_TIME=1
13
+ <define>BOOST_ASIO_DISABLE_BOOST_REGEX=1
14
+ <toolset>msvc:<cxxflags>"/bigobj"
15
+ <target-os>windows:<define>_WIN32_WINNT=0x0601
16
+ <include>../include
17
+ [ requires cxx17 ]
18
+ [ ac.check-library /openssl//ssl : <library>/openssl//ssl/<link>shared : <build>no ]
19
+ [ ac.check-library /openssl//crypto : <library>/openssl//crypto/<link>shared : <build>no ]
20
+ <library>/openssl//ssl/<link>shared
21
+ <library>/openssl//crypto/<link>shared
22
+ ;
23
+
24
+
25
+ # Helper library
26
+ lib redis_test_common
27
+ :
28
+ boost_redis.cpp
29
+ common.cpp
30
+ : requirements $(requirements)
31
+ : usage-requirements $(requirements)
32
+ ;
33
+
34
+ alias openssl_libs
35
+ :
36
+ : requirements
37
+ : usage-requirements
38
+ ;
39
+
40
+ local tests =
41
+ test_low_level_sync_sans_io
42
+ test_low_level
43
+ test_request
44
+ test_run
45
+ ;
46
+
47
+ for local test in $(tests)
48
+ {
49
+ run
50
+ $(test).cpp
51
+ redis_test_common/<link>static
52
+ : target-name $(test)
53
+ ;
54
+ }
Original file line number Diff line number Diff line change @@ -21,13 +21,11 @@ using boost::redis::request;
21
21
using boost::redis::ignore;
22
22
using boost::redis::operation;
23
23
using boost::redis::generic_response;
24
- using boost::redis::logger;
25
24
using boost::redis::consume_one;
26
25
using redis::config;
27
26
28
27
// TODO: Test cancel(health_check)
29
28
30
- std::chrono::seconds const interval{1 };
31
29
32
30
struct push_callback {
33
31
connection* conn1;
You can’t perform that action at this time.
0 commit comments