[glib-networking/mcatanzaro/rerun-tests] Run GnuTLS tests with TLS 1.3 disabled



commit bd2dde8f397e88ada3b1440ea24945932a2a407c
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Thu May 23 15:37:24 2019 -0500

    Run GnuTLS 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.
    
    This is currently expected to fail due to #84 and #88.

 tls/tests/meson.build | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/tls/tests/meson.build b/tls/tests/meson.build
index df9dba4..fe0e97f 100644
--- a/tls/tests/meson.build
+++ b/tls/tests/meson.build
@@ -74,6 +74,12 @@ 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.
+      if backend == 'gnutls'
+        test_envs += ['G_TLS_GNUTLS_PRIORITY=NORMAL:%COMPAT:-VERS-TLS1.3']
+        test(program_name, exe, env: test_envs)
+      endif
     endif
   endforeach
 endforeach


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]