Refuse to run the PYCA external test if configured 'no-shared'
[openssl.git] / test / recipes / 95-test_external_pyca.t
index 7ced77ea45bc15adc69d6653631b87bd68ae3f02..a64afd0a4038c2e9396b2d993dc4fdc375d467d5 100644 (file)
@@ -23,6 +23,8 @@ SKIP: {
         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");