]>
Commit | Line | Data |
---|---|---|
aa2cb51d | 1 | #! /usr/bin/env perl |
3c2bdd7d | 2 | # Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved. |
aa2cb51d DB |
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 | ||
10 | use OpenSSL::Test; | |
11 | use OpenSSL::Test::Utils; | |
12 | use OpenSSL::Test qw/:DEFAULT bldtop_file data_file srctop_file cmdstr/; | |
13 | ||
53eecb5d | 14 | setup("test_external_gost_engine"); |
aa2cb51d DB |
15 | |
16 | plan skip_all => "No external tests in this configuration" | |
17 | if disabled("external-tests"); | |
18 | plan skip_all => "GOST engine tests not available on Windows or VMS" | |
19 | if $^O =~ /^(VMS|MSWin32)$/; | |
20 | plan skip_all => "GOST engine tests only available in a shared build" | |
21 | if disabled("shared"); | |
22 | ||
23 | plan tests => 1; | |
24 | ||
25 | ok(run(cmd(["sh", data_file("gost_engine.sh")])), | |
26 | "running GOST engine tests"); |