diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-04-16 18:28:00 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-04-16 18:28:00 -0400 |
commit | 9a591d6e3bbe87c89504b48241d189019617cc0a (patch) | |
tree | 67ed23c564acb36ecce3ac485f83d09a1a7ec728 /datatest.cpp | |
parent | 57c5458d42321496d76ef7f7729f8fef9851f1d3 (diff) | |
download | cryptopp-git-9a591d6e3bbe87c89504b48241d189019617cc0a.tar.gz |
Fix datatest.cpp output
Diffstat (limited to 'datatest.cpp')
-rw-r--r-- | datatest.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/datatest.cpp b/datatest.cpp index 2338b9fc..7c14b8ef 100644 --- a/datatest.cpp +++ b/datatest.cpp @@ -1300,13 +1300,16 @@ void TestDataFile(std::string filename, const NameValuePairs &overrideParameters }
else
{
- unsigned int deltaTests = totalTests-currentTests;
- if (deltaTests)
+ if (algType != "FileList")
{
- std::string progress(deltaTests, '.');
- std::cout << progress;
- if (currentTests % 8 == 0)
- std::cout << std::flush;
+ unsigned int deltaTests = totalTests-currentTests;
+ if (deltaTests)
+ {
+ std::string progress(deltaTests, '.');
+ std::cout << progress;
+ if (currentTests % 4 == 0)
+ std::cout << std::flush;
+ }
}
}
|