From: Richard Levitte Date: Mon, 6 Jun 2005 08:38:23 +0000 (+0000) Subject: Skipping all tests just because one algorithm is disabled seems a bit harsch. X-Git-Tag: OpenSSL_0_9_8-beta5~14 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=49e96badcf7f81bc538cb7540d9097c204f20ad5 Skipping all tests just because one algorithm is disabled seems a bit harsch. PR: 1089 --- diff --git a/util/selftest.pl b/util/selftest.pl index e9d5aa8938..736eacb11e 100644 --- a/util/selftest.pl +++ b/util/selftest.pl @@ -130,15 +130,21 @@ if (system("make 2>&1 | tee make.log") > 255) { goto err; } -$_=$options; -s/no-asm//; -s/no-shared//; -s/no-krb5//; -if (/no-/) -{ - print OUT "Test skipped.\n"; - goto err; -} +# Not sure why this is here. The tests themselves can detect if their +# particular feature isn't included, and should therefore skip themselves. +# To skip *all* tests just because one algorithm isn't included is like +# shooting mosquito with an elephant gun... +# -- Richard Levitte, inspired by problem report 1089 +# +#$_=$options; +#s/no-asm//; +#s/no-shared//; +#s/no-krb5//; +#if (/no-/) +#{ +# print OUT "Test skipped.\n"; +# goto err; +#} print "Running make test...\n"; if (system("make test 2>&1 | tee maketest.log") > 255)