diff options
author | Richard Levitte <levitte@openssl.org> | 2005-06-06 08:38:13 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-06-06 08:38:13 +0000 |
commit | bdee60fc1a0c86853c1a5d08684ded41c48c40f8 (patch) | |
tree | 4ed55bcfbe84590f8e90a949642865f7540e46a8 /util | |
parent | 0b62d2f4c9d741391d8034b2067878441bdb13f6 (diff) |
Skipping all tests just because one algorithm is disabled seems a bit harsch.
PR: 1089
Diffstat (limited to 'util')
-rw-r--r-- | util/selftest.pl | 24 |
1 files 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) |