openssl/test/recipes/99-test_ecstress.t
Rich Salz 2556aec5d0 Add ecstress test
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3720)
2017-06-21 09:24:01 -04:00

23 lines
600 B
Perl

#! /usr/bin/env perl
# Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
use strict;
use warnings;
use OpenSSL::Test;
use OpenSSL::Test::Utils;
setup("test_ecstress");
plan tests => 1;
SKIP: {
skip "Skipping EC stress test", 1
if ! exists $ENV{'ECSTRESS'};
ok(run(test(["ecstresstest"])), "running ecstresstest");
}