]>
Commit | Line | Data |
---|---|---|
5c9e3447 JS |
1 | #! /usr/bin/env perl |
2 | # Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved. | |
3 | # | |
909f1a2e | 4 | # Licensed under the Apache License 2.0 (the "License"). You may not use |
5c9e3447 JS |
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 | |
8 | ||
9 | ||
10 | use OpenSSL::Test; | |
11 | use OpenSSL::Test::Utils; | |
12 | use OpenSSL::Test qw/:DEFAULT bldtop_file data_file srctop_file cmdstr/; | |
13 | ||
14 | setup("test_external"); | |
15 | ||
16 | plan skip_all => "No external tests in this configuration" | |
17 | if disabled("external-tests"); | |
218712ff | 18 | plan skip_all => "PYCA tests not available on Windows or VMS" |
b83ace31 | 19 | if $^O =~ /^(VMS|MSWin32)$/; |
218712ff | 20 | plan skip_all => "PYCA Cryptography not available" |
b83ace31 | 21 | if ! -f srctop_file("pyca-cryptography", "setup.py"); |
218712ff | 22 | plan skip_all => "PYCA tests only available in a shared build" |
b83ace31 | 23 | if disabled("shared"); |
5c9e3447 JS |
24 | |
25 | plan tests => 1; | |
26 | ||
b83ace31 RL |
27 | ok(run(cmd(["sh", data_file("cryptography.sh")])), |
28 | "running Python Cryptography tests"); |