File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 2
2
import ../config/checks/config : requires ;
3
3
import ac ;
4
4
5
+ # Configure openssl if it hasn't been done yet
5
6
using openssl ;
6
7
8
+ # Use these requirements as both regular and usage requirements across all tests
7
9
local requirements =
8
10
<define>BOOST_ALL_NO_LIB=1
9
11
<define>BOOST_ASIO_NO_DEPRECATED=1
@@ -43,19 +45,16 @@ lib redis_test_common
43
45
: usage-requirements $(requirements)
44
46
;
45
47
46
- alias openssl_libs
47
- :
48
- : requirements
49
- : usage-requirements
50
- ;
51
-
48
+ # B2 runs tests in parallel, and some tests rely on having exclusive
49
+ # access to a Redis server, so we only run the ones that don't require a DB server.
52
50
local tests =
53
51
test_low_level_sync_sans_io
54
52
test_low_level
55
53
test_request
56
54
test_run
57
55
;
58
56
57
+ # Build and run the tests
59
58
for local test in $(tests)
60
59
{
61
60
run
You can’t perform that action at this time.
0 commit comments