Skip to content

Commit

Permalink
QUIC QLOG: Don't build QLOG test if QLOG is disabled
Browse files Browse the repository at this point in the history
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from openssl#22037)
  • Loading branch information
hlandau authored and Sashan committed Feb 12, 2024
1 parent 9c6509d commit c2fee0b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/build.info
Original file line number Diff line number Diff line change
Expand Up @@ -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}) -}]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c2fee0b

Please sign in to comment.