Add a --disable-all option to disable all tests.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 25 Sep 2011 22:12:39 +0000 (22:12 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 25 Sep 2011 22:12:39 +0000 (22:12 +0000)
fips/fipsalgtest.pl

index 03de882..1382d98 100644 (file)
@@ -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";