1From 8c3a5d0921090e2fc3c4e2561509d23eb9ffa6dd Mon Sep 17 00:00:00 2001 2From: Fabrice Fontaine <fontaine.fabrice@gmail.com> 3Date: Fri, 2 Apr 2021 21:07:07 +0200 4Subject: [PATCH] configure.ac: add --disable-tests 5 6Allow the user to explicitly disable tests 7 8Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 9[Upstream status: https://github.com/lttng/lttng-tools/pull/162] 10--- 11 configure.ac | 3 +++ 12 1 file changed, 3 insertions(+) 13 14diff --git a/configure.ac b/configure.ac 15index 04f9cef4..372cdf3d 100644 16--- a/configure.ac 17+++ b/configure.ac 18@@ -862,6 +862,8 @@ AC_ARG_ENABLE([bin-lttng-sessiond], AS_HELP_STRING([--disable-bin-lttng-sessiond 19 [Disable the build of lttng-sessiond binaries])) 20 AC_ARG_ENABLE([extras], AS_HELP_STRING([--disable-extras], 21 [Disable the build of the extra components])) 22+AC_ARG_ENABLE([tests], AS_HELP_STRING([--disable-tests], 23+ [Disable the build of the test components])) 24 25 26 # Always build libconfig since it a dependency of libcommon 27@@ -1027,6 +1029,7 @@ AM_CONDITIONAL([BUILD_BIN_LTTNG_SESSIOND], [test x$enable_bin_lttng_sessiond != 28 29 # Export the tests and extras build conditions. 30 AS_IF([\ 31+test "x$enable_tests" != "xno" && \ 32 test "x$enable_bin_lttng" != "xno" && \ 33 test "x$enable_bin_lttng_consumerd" != "xno" && \ 34 test "x$enable_bin_lttng_crash" != "xno" && \ 35-- 362.30.2 37 38