1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-25 09:28:20 +00:00

Enable setting test.pl IS_OPTIMIZED via environment variable

This commit is contained in:
jsteube 2019-03-08 16:05:17 +01:00
parent e63f34b1c7
commit 0507d709f0

View File

@ -18,6 +18,11 @@ use lib "$FindBin::Bin/test_modules";
my $IS_OPTIMIZED = 1;
if (exists $ENV{"IS_OPTIMIZED"} && defined $ENV{"IS_OPTIMIZED"})
{
$IS_OPTIMIZED = $ENV{"IS_OPTIMIZED"};
}
my $TYPES = [ 'single', 'passthrough', 'verify' ];
my $TYPE = shift @ARGV;