Only run DANE tests when EC is supported
authorRichard Levitte <levitte@openssl.org>
Mon, 11 Jan 2016 16:20:39 +0000 (17:20 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 11 Jan 2016 16:32:17 +0000 (17:32 +0100)
Since danetest is to test DANE rather than specific algorithms, it's
acceptable to require EC when testing it.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
test/recipes/80-test_dane.t

index 060bfcf541268b62aa9cb431aa5bd7654ca430cb..e0aa524250de764bb164281bb6f45dc638037e0f 100644 (file)
@@ -3,9 +3,13 @@
 use strict;
 use warnings;
 use OpenSSL::Test qw/:DEFAULT top_dir top_file/;
+use OpenSSL::Test::Utils;
 
 setup("test_dane");
 
+plan skip_all => "test_dane uses ec which is not supported by this OpenSSL build"
+    if disabled("ec");
+
 plan tests => 1;                # The number of tests being performed
 
 ok(run(test(["danetest", "example.com",