use OpenSSL::Test;
+use OpenSSL::Test::Utils;
+use OpenSSL::Test::Simple;
setup("test_abort");
+plan skip_all => "This test should not be run under valgrind"
+ if ( defined $ENV{OSSL_USE_VALGRIND} );
+
plan tests => 1;
is(run(test(["aborttest"])), 0, "Testing that abort is caught correctly");
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
+use OpenSSL::Test;
+use OpenSSL::Test::Utils;
use OpenSSL::Test::Simple;
+plan skip_all => "This test should not be run under valgrind"
+ if ( defined $ENV{OSSL_USE_VALGRIND} );
+
{
local $ENV{"ASAN_OPTIONS"} = "allocator_may_return_null=true";
local $ENV{"MSAN_OPTIONS"} = "allocator_may_return_null=true";
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
+use OpenSSL::Test;
+use OpenSSL::Test::Utils;
use OpenSSL::Test::Simple;
+plan skip_all => "This test should not be run under valgrind"
+ if ( defined $ENV{OSSL_USE_VALGRIND} );
+
{
local $ENV{"ASAN_OPTIONS"} = "allocator_may_return_null=true";
local $ENV{"MSAN_OPTIONS"} = "allocator_may_return_null=true";
use OpenSSL::Test;
+use OpenSSL::Test::Utils;
setup("test_memleak");
+plan skip_all => "This test should not be run under valgrind"
+ if (defined ($ENV{OSSL_USE_VALGRIND}));
+
plan skip_all => "MacOS currently doesn't support leak sanitizer"
if $^O eq 'darwin';
my $config_path = abs_path(srctop_file("test", $no_fips ? "default.cnf"
: "default-and-fips.cnf"));
+plan skip_all => "This test should not be run under valgrind"
+ if (defined $ENV{OSSL_USE_VALGRIND});
+
plan tests => 3;
if ($no_fips) {