2 # Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
4 # Licensed under the OpenSSL license (the "License"). You may not use
5 # this file except in compliance with the License. You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
11 use OpenSSL::Test::Utils;
12 use OpenSSL::Test qw/:DEFAULT bldtop_file data_file srctop_file cmdstr/;
14 setup("test_external");
16 plan skip_all => "No external tests in this configuration"
17 if disabled("external-tests");
22 skip "PYCA Cryptography not available", 1
23 if ! -f srctop_file("pyca-cryptography", "setup.py");
24 skip "PYCA tests not available on Windows or VMS", 1
25 if $^O =~ /^(VMS|MSWin32)$/;
27 ok(run(cmd(["sh", data_file("cryptography.sh")])),
28 "running Python Cryptography tests");