mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-29 03:18:30 +00:00
Enable setting test.pl IS_OPTIMIZED via environment variable
This commit is contained in:
parent
e63f34b1c7
commit
0507d709f0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user