summaryrefslogtreecommitdiffstats
path: root/fips
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-09-25 22:12:39 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-09-25 22:12:39 +0000
commita846a7ff32096e6e5eb155f819a8a8877a5d70e4 (patch)
tree6cc77387c30e8e13ec71320d2ff8341416f8061c /fips
parentbac3db9cc1f48307482c42ac69ae68da7ac06c80 (diff)
Add a --disable-all option to disable all tests.
Diffstat (limited to 'fips')
-rw-r--r--fips/fipsalgtest.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/fips/fipsalgtest.pl b/fips/fipsalgtest.pl
index 03de8823aa..1382d982b1 100644
--- a/fips/fipsalgtest.pl
+++ b/fips/fipsalgtest.pl
@@ -577,6 +577,11 @@ foreach (@ARGV) {
elsif (/--tprefix=(.*)$/) {
$tprefix = $1;
}
+ elsif (/^--disable-all$/) {
+ foreach (keys %fips_enabled) {
+ $fips_enabled{$_} = 0;
+ }
+ }
elsif (/^--(enable|disable)-(.*)$/) {
if ( !exists $fips_enabled{$2} ) {
print STDERR "Unknown test $2\n";