From 63f8897e109b1647ae044502fc764f47ca2e89b1 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Tue, 12 May 2020 11:52:43 -0700 Subject: [PATCH 1/2] Disable broker documentation examples if disabling broker tests --- aux/broker | 2 +- configure | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/aux/broker b/aux/broker index 8b2c9a9e1e..35eb209c18 160000 --- a/aux/broker +++ b/aux/broker @@ -1 +1 @@ -Subproject commit 8b2c9a9e1e67d145af442fa2175dcb18b643a317 +Subproject commit 35eb209c18dd49d020994162eb20f73f0257681c diff --git a/configure b/configure index 48c35e64a5..019e8083a8 100755 --- a/configure +++ b/configure @@ -267,7 +267,8 @@ while [ $# -ne 0 ]; do append_cache_entry DISABLE_PYTHON_BINDINGS BOOL true ;; --disable-broker-tests) - append_cache_entry BROKER_DISABLE_TESTS BOOL true + append_cache_entry BROKER_DISABLE_TESTS BOOL true + append_cache_entry BROKER_DISABLE_DOC_EXAMPLES BOOL true ;; --with-openssl=*) append_cache_entry OPENSSL_ROOT_DIR PATH $optarg From 6e8053b7d110166db78a39d7769d7ac6a45d4d51 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Tue, 12 May 2020 12:08:26 -0700 Subject: [PATCH 2/2] Disable broker tests from building on the CI This results in a ~10% reduction in build time. --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index f501f0bc4d..6099a2aff9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -3,8 +3,8 @@ btest_jobs: &BTEST_JOBS 8 btest_retries: &BTEST_RETRIES 2 memory: &MEMORY 6GB -config: &CONFIG --build-type=release --enable-cpp-tests -memcheck_config: &MEMCHECK_CONFIG --build-type=debug --enable-cpp-tests --sanitizers=address +config: &CONFIG --build-type=release --enable-cpp-tests --disable-broker-tests +memcheck_config: &MEMCHECK_CONFIG --build-type=debug --enable-cpp-tests --disable-broker-tests --sanitizers=address resources_template: &RESOURCES_TEMPLATE cpu: *CPUS