summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-01-29 14:28:06 +0000
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:50:30 +0000
commit5ec0467a7a0699416c602a57213482a599ebbb64 (patch)
treedbef5178494761ce38502d0866bf61c56564593e /test
parent26e4bac4db5be2eefd894c102b1a65a752ebaefd (diff)
QUIC QLOG: Don't build QLOG test if QLOG is disabled
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22037)
Diffstat (limited to 'test')
-rw-r--r--test/build.info11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/build.info b/test/build.info
index 2bdf545892..10df828764 100644
--- a/test/build.info
+++ b/test/build.info
@@ -79,7 +79,7 @@ IF[{- !$disabled{tests} -}]
ENDIF
IF[{- !$disabled{qlog} -}]
- PROGRAMS{noinst}=json_test
+ PROGRAMS{noinst}=json_test quic_qlog_test
ENDIF
IF[{- !$disabled{comp} && (!$disabled{brotli} || !$disabled{zstd} || !$disabled{zlib}) -}]
@@ -374,9 +374,11 @@ IF[{- !$disabled{tests} -}]
INCLUDE[quic_multistream_test]=../include ../apps/include
DEPEND[quic_multistream_test]=../libcrypto.a ../libssl.a libtestutil.a
- SOURCE[quic_qlog_test]=quic_qlog_test.c
- INCLUDE[quic_qlog_test]=../include ../apps/include
- DEPEND[quic_qlog_test]=../libcrypto.a ../libssl.a libtestutil.a
+ IF[{- !$disabled{'qlog'} -}]
+ SOURCE[quic_qlog_test]=quic_qlog_test.c
+ INCLUDE[quic_qlog_test]=../include ../apps/include
+ DEPEND[quic_qlog_test]=../libcrypto.a ../libssl.a libtestutil.a
+ ENDIF
SOURCE[asynctest]=asynctest.c
INCLUDE[asynctest]=../include ../apps/include
@@ -1185,7 +1187,6 @@ ENDIF
PROGRAMS{noinst}=quic_srtm_test quic_lcidm_test quic_rcidm_test
PROGRAMS{noinst}=quic_fifd_test quic_txp_test quic_tserver_test
PROGRAMS{noinst}=quic_client_test quic_cc_test quic_multistream_test
- PROGRAMS{noinst}=quic_qlog_test
ENDIF
SOURCE[quic_ackm_test]=quic_ackm_test.c cc_dummy.c