summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-03-21 11:07:14 +0000
committerMatt Caswell <matt@openssl.org>2016-03-21 14:33:40 +0000
commit18cb0221b9352adc6507adbcec301b49546cbc3e (patch)
tree94f808837bcf73b319ca18b2ac4c50aacde2551e
parent83ae8124de62f5f6d07dd4b0e6043c8a196b789e (diff)
Skip the CMS tests if CMS is disabled
This fixes the no-cms compile time option. Reviewed-by: Emilia Käsper <emilia@openssl.org>
-rw-r--r--test/recipes/80-test_cms.t3
1 files changed, 3 insertions, 0 deletions
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)