From: Richard Levitte Date: Mon, 6 Jun 2005 08:38:05 +0000 (+0000) Subject: Skipping all tests just because one algorithm is disabled seems a bit harsch. X-Git-Tag: OpenSSL_0_9_8k^2~2036 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=34f0b2642497667358e8d12c6ff378dea83352e7;p=oweals%2Fopenssl.git 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)