Make tests use configdata.pm rather than parsing Makefile
[openssl.git] / test / recipes / 70-test_tlsextms.t
index b6ff47e84043c520a893d54da9a1a6f5a889942c..a861064ee155dd9ad9c5dca2435be7c5fe635ec5 100644 (file)
@@ -68,9 +68,7 @@ plan skip_all => "$test_name needs the engine feature enabled"
     if disabled("engine");
 
 plan skip_all => "$test_name can only be performed with OpenSSL configured shared"
-    unless (map { s/\R//; s/^SHARED_LIBS=\s*//; $_ }
-        grep { /^SHARED_LIBS=/ }
-        do { local @ARGV = ( top_file("Makefile") ); <> })[0] ne "";
+    if config("no_shared");
 
 $ENV{OPENSSL_ENGINES} = top_dir("engines");
 $ENV{OPENSSL_ia32cap} = '~0x200000200000000';