mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Update datatest output
This commit is contained in:
parent
8f7d7ac476
commit
2642669c10
15
datatest.cpp
15
datatest.cpp
@ -1164,6 +1164,8 @@ void TestDataFile(std::string filename, const NameValuePairs &overrideParameters
|
||||
lastAlgName = algName;
|
||||
}
|
||||
|
||||
unsigned int currentTests = totalTests;
|
||||
|
||||
try
|
||||
{
|
||||
if (algType == "Signature")
|
||||
@ -1211,11 +1213,20 @@ void TestDataFile(std::string filename, const NameValuePairs &overrideParameters
|
||||
|
||||
if (failed)
|
||||
{
|
||||
std::cout << "Skipping to next test.\n";
|
||||
std::cout << "Skipping to next test." << std::endl;
|
||||
failedTests++;
|
||||
}
|
||||
else
|
||||
std::cout << "." << std::flush;
|
||||
{
|
||||
unsigned int deltaTests = totalTests-currentTests;
|
||||
if (deltaTests)
|
||||
{
|
||||
std::string progress(deltaTests, '.');
|
||||
std::cout << progress;
|
||||
if (currentTests % 8 == 0)
|
||||
std::cout << std::flush;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user