VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/test/recipes/95-test_external_pyca.t@ 97673

最後變更 在這個檔案從97673是 94320,由 vboxsync 提交於 3 年 前

libs/openssl-3.0.1: Export to OSE and fix copyright headers in Makefiles, bugref:10128

檔案大小: 994 位元組
 
1#! /usr/bin/env perl
2# Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved.
3#
4# Licensed under the Apache License 2.0 (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
8
9
10use OpenSSL::Test;
11use OpenSSL::Test::Utils;
12use OpenSSL::Test qw/:DEFAULT bldtop_file data_file srctop_file cmdstr/;
13
14setup("test_external_pyca");
15
16plan skip_all => "No external tests in this configuration"
17 if disabled("external-tests");
18plan skip_all => "PYCA tests not available on Windows or VMS"
19 if $^O =~ /^(VMS|MSWin32)$/;
20plan skip_all => "PYCA Cryptography not available"
21 if ! -f srctop_file("pyca-cryptography", "setup.py");
22plan skip_all => "PYCA tests only available in a shared build"
23 if disabled("shared");
24
25plan tests => 1;
26
27ok(run(cmd(["sh", data_file("cryptography.sh")])),
28 "running Python Cryptography tests");
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette