2
0
mirror of https://github.com/boostorg/redis.git synced 2026-01-19 04:42:09 +00:00

Simplified & documented Jamfile

This commit is contained in:
Ruben Perez
2023-10-05 13:47:14 +02:00
parent ea6c5536c1
commit 0303ae0dbc

View File

@@ -2,8 +2,10 @@
import ../config/checks/config : requires ;
import ac ;
# Configure openssl if it hasn't been done yet
using openssl ;
# Use these requirements as both regular and usage requirements across all tests
local requirements =
<define>BOOST_ALL_NO_LIB=1
<define>BOOST_ASIO_NO_DEPRECATED=1
@@ -43,12 +45,8 @@ lib redis_test_common
: usage-requirements $(requirements)
;
alias openssl_libs
:
: requirements
: usage-requirements
;
# B2 runs tests in parallel, and some tests rely on having exclusive
# access to a Redis server, so we only run the ones that don't require a DB server.
local tests =
test_low_level_sync_sans_io
test_low_level
@@ -56,6 +54,7 @@ local tests =
test_run
;
# Build and run the tests
for local test in $(tests)
{
run