[glib-networking/mcatanzaro/rerun-tests] Run GnuTLS connection tests with TLS 1.3 disabled
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/mcatanzaro/rerun-tests] Run GnuTLS connection tests with TLS 1.3 disabled
- Date: Sun, 9 Jun 2019 15:17:28 +0000 (UTC)
commit 370d312b9b216311b95e50c64a4fced8bf2b576c
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Thu May 23 15:37:24 2019 -0500
Run GnuTLS connection tests with TLS 1.3 disabled
Some tests have regressed with TLS 1.2, but I didn't notice because we
are currently not testing it anywhere. Run all the tests with TLS 1.2
as well as TLS 1.3.
tls/tests/meson.build | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/tls/tests/meson.build b/tls/tests/meson.build
index df9dba4..a81467a 100644
--- a/tls/tests/meson.build
+++ b/tls/tests/meson.build
@@ -74,6 +74,13 @@ foreach backend: backends
if backend != 'openssl'
test(program_name, exe, env: test_envs)
endif
+
+ # GnuTLS tests are run twice: once with TLS 1.3, then once again with
+ # TLS 1.2. (Assuming GnuTLS supports TLS 1.3.)
+ if backend == 'gnutls' and program_name.contains('connection')
+ test_envs += ['G_TLS_GNUTLS_PRIORITY=NORMAL:%COMPAT:-VERS-TLS1.3']
+ test(program_name + '-tls1.2', exe, env: test_envs)
+ endif
endif
endforeach
endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]