From 34f0b2642497667358e8d12c6ff378dea83352e7 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 6 Jun 2005 08:38:05 +0000 Subject: [PATCH] Skipping all tests just because one algorithm is disabled seems a bit harsch. PR: 1089 --- util/selftest.pl | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) 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) -- GitLab