From a846a7ff32096e6e5eb155f819a8a8877a5d70e4 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 25 Sep 2011 22:12:39 +0000 Subject: [PATCH] Add a --disable-all option to disable all tests. --- fips/fipsalgtest.pl | 5 +++++ 1 file changed, 5 insertions(+) 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"; -- 2.25.1