Refuse to run the PYCA external test if configured 'no-shared'
[extended tests]
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3007)
diff --git a/test/recipes/95-test_external_pyca.t b/test/recipes/95-test_external_pyca.t
index 7ced77e..a64afd0 100644
--- a/test/recipes/95-test_external_pyca.t
+++ b/test/recipes/95-test_external_pyca.t
@@ -23,6 +23,8 @@
if ! -f srctop_file("pyca-cryptography", "setup.py");
skip "PYCA tests not available on Windows or VMS", 1
if $^O =~ /^(VMS|MSWin32)$/;
+ skip "PYCA tests only available in a shared build", 1
+ if disabled("shared");
ok(run(cmd(["sh", data_file("cryptography.sh")])),
"running Python Cryptography tests");