From: Matt Caswell Date: Mon, 21 Mar 2016 11:07:14 +0000 (+0000) Subject: Skip the CMS tests if CMS is disabled X-Git-Tag: OpenSSL_1_1_0-pre5~268 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=18cb0221b9352adc6507adbcec301b49546cbc3e Skip the CMS tests if CMS is disabled This fixes the no-cms compile time option. Reviewed-by: Emilia Käsper --- diff --git a/test/recipes/80-test_cms.t b/test/recipes/80-test_cms.t index 21926d430e..645f37a7de 100644 --- a/test/recipes/80-test_cms.t +++ b/test/recipes/80-test_cms.t @@ -11,6 +11,9 @@ use OpenSSL::Test::Utils; setup("test_cms"); +plan skip_all => "CMS is not supported by this OpenSSL build" + if disabled("cms"); + my $smdir = srctop_dir("test", "smime-certs"); my $smcont = srctop_file("test", "smcont.txt"); my ($no_des, $no_dh, $no_dsa, $no_ec, $no_ec2m, $no_rc2, $no_zlib)