mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Update command handler in test.cpp
This commit is contained in:
parent
5b1292dfc5
commit
420d8ca90d
5
test.cpp
5
test.cpp
@ -398,7 +398,10 @@ int scoped_main(int argc, char *argv[])
|
|||||||
else if (command == "ir")
|
else if (command == "ir")
|
||||||
InformationRecoverFile(argc-3, argv[2], argv+3);
|
InformationRecoverFile(argc-3, argv[2], argv+3);
|
||||||
else if (command == "v" || command == "vv")
|
else if (command == "v" || command == "vv")
|
||||||
return !Validate(argc>2 ? StringToValue<int, true>(argv[2]) : 0, command == "vv" /*thorough*/);
|
{
|
||||||
|
int testNumber = argc>2 ? StringToValue<int, true>(argv[2]) : 0;
|
||||||
|
return Validate(testNumber, command == "vv" /*thorough*/) ? 0 : 1;
|
||||||
|
}
|
||||||
else if (command.substr(0,1) == "b") // "b", "b1", "b2", ...
|
else if (command.substr(0,1) == "b") // "b", "b1", "b2", ...
|
||||||
BenchmarkWithCommand(argc, argv);
|
BenchmarkWithCommand(argc, argv);
|
||||||
else if (command == "z")
|
else if (command == "z")
|
||||||
|
Loading…
Reference in New Issue
Block a user