Android: explicitly bundle the OpenSSL libs for tests
Use the new argument to bundle the OpenSSL prebuilt libararies so that ssl operations are actually tested at runtime. Task-number: QTBUG-110025 Pick-to: 6.6 6.5 Change-Id: I0d73fed463a1724a9e0ee84ba603aa2ff1bc649b Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
9d5a8162a5
commit
f667445006
@ -14,4 +14,5 @@ qt_internal_add_test(tst_http2
|
||||
Qt::Network
|
||||
Qt::NetworkPrivate
|
||||
Qt::TestPrivate
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -29,6 +29,7 @@ qt_internal_add_test(tst_qnetworkreply
|
||||
Qt::NetworkPrivate
|
||||
TESTDATA ${test_data}
|
||||
QT_TEST_SERVER_LIST "vsftpd" "apache2" "ftp-proxy" "danted" "squid"
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
add_dependencies(tst_qnetworkreply echo)
|
||||
|
||||
|
@ -11,4 +11,5 @@ qt_internal_add_test(tst_qasn1element
|
||||
LIBRARIES
|
||||
Qt::Network
|
||||
Qt::NetworkPrivate
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -14,4 +14,5 @@ qt_internal_add_test(tst_qdtls
|
||||
LIBRARIES
|
||||
Qt::NetworkPrivate
|
||||
TESTDATA ${test_data}
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -10,4 +10,5 @@ qt_internal_add_test(tst_qdtlscookie
|
||||
tst_qdtlscookie.cpp
|
||||
LIBRARIES
|
||||
Qt::NetworkPrivate
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -11,6 +11,7 @@ qt_internal_add_test(tst_qocsp
|
||||
LIBRARIES
|
||||
Qt::Network
|
||||
Qt::NetworkPrivate
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
||||
qt_internal_extend_target(tst_qocsp CONDITION QT_FEATURE_openssl_linked
|
||||
|
@ -10,4 +10,5 @@ qt_internal_add_test(tst_qpassworddigestor
|
||||
tst_qpassworddigestor.cpp
|
||||
LIBRARIES
|
||||
Qt::Network
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -34,4 +34,5 @@ qt_internal_add_test(tst_qsslcertificate
|
||||
LIBRARIES
|
||||
Qt::Network
|
||||
TESTDATA ${test_data}
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -10,4 +10,5 @@ qt_internal_add_test(tst_qsslcipher
|
||||
tst_qsslcipher.cpp
|
||||
LIBRARIES
|
||||
Qt::Network
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -10,4 +10,5 @@ qt_internal_add_test(tst_qssldiffiehellmanparameters
|
||||
tst_qssldiffiehellmanparameters.cpp
|
||||
LIBRARIES
|
||||
Qt::Network
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -10,4 +10,5 @@ qt_internal_add_test(tst_qsslellipticcurve
|
||||
tst_qsslellipticcurve.cpp
|
||||
LIBRARIES
|
||||
Qt::Network
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -10,4 +10,5 @@ qt_internal_add_test(tst_qsslerror
|
||||
tst_qsslerror.cpp
|
||||
LIBRARIES
|
||||
Qt::Network
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -21,6 +21,7 @@ qt_internal_add_test(tst_qsslkey
|
||||
LIBRARIES
|
||||
Qt::Network
|
||||
TESTDATA ${test_data}
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
||||
qt_internal_extend_target(tst_qsslkey CONDITION QT_FEATURE_private_tests AND QT_FEATURE_openssl_linked
|
||||
|
@ -19,4 +19,5 @@ qt_internal_add_test(tst_qsslserver
|
||||
Qt::CorePrivate
|
||||
Qt::NetworkPrivate
|
||||
TESTDATA ${test_data}
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -21,6 +21,7 @@ qt_internal_add_test(tst_qsslsocket
|
||||
Qt::TestPrivate
|
||||
TESTDATA ${test_data}
|
||||
QT_TEST_SERVER_LIST "squid" "danted" "cyrus" "apache2" "echo"
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
||||
qt_internal_extend_target(tst_qsslsocket CONDITION QT_FEATURE_private_tests AND QT_FEATURE_openssl_linked
|
||||
|
@ -16,4 +16,5 @@ qt_internal_add_test(tst_qsslsocket_onDemandCertificates_member
|
||||
Qt::CorePrivate
|
||||
Qt::NetworkPrivate
|
||||
QT_TEST_SERVER_LIST "squid" "danted"
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
@ -16,4 +16,5 @@ qt_internal_add_test(tst_qsslsocket_onDemandCertificates_static
|
||||
Qt::CorePrivate
|
||||
Qt::NetworkPrivate
|
||||
QT_TEST_SERVER_LIST "squid" "danted"
|
||||
BUNDLE_ANDROID_OPENSSL_LIBS
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user