Skip to content

Commit 0303ae0

Browse files
committed
Simplified & documented Jamfile
1 parent ea6c553 commit 0303ae0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

test/Jamfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
import ../config/checks/config : requires ;
33
import ac ;
44

5+
# Configure openssl if it hasn't been done yet
56
using openssl ;
67

8+
# Use these requirements as both regular and usage requirements across all tests
79
local requirements =
810
<define>BOOST_ALL_NO_LIB=1
911
<define>BOOST_ASIO_NO_DEPRECATED=1
@@ -43,19 +45,16 @@ lib redis_test_common
4345
: usage-requirements $(requirements)
4446
;
4547

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.
5250
local tests =
5351
test_low_level_sync_sans_io
5452
test_low_level
5553
test_request
5654
test_run
5755
;
5856

57+
# Build and run the tests
5958
for local test in $(tests)
6059
{
6160
run

0 commit comments

Comments
 (0)