diff options
author | René Korthaus <[email protected]> | 2017-02-14 10:38:36 +0100 |
---|---|---|
committer | René Korthaus <[email protected]> | 2017-02-14 10:38:36 +0100 |
commit | 863b7ba99f2014b76e0ba2e2b256d0870301199b (patch) | |
tree | 0fd9f68e3c5da4edb76b431719f389592f6676d6 | |
parent | 5579155992d3f3677f06c52c0aa94f4b7e5bf0a6 (diff) |
Fix botan-test verbose mode
-rw-r--r-- | src/tests/tests.cpp | 2 | ||||
-rw-r--r-- | src/tests/tests.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/tests.cpp b/src/tests/tests.cpp index fa93397b2..e4a755831 100644 --- a/src/tests/tests.cpp +++ b/src/tests/tests.cpp @@ -406,7 +406,7 @@ std::string Test::Result::result_string(bool verbose) const report << "Failure " << (i+1) << ": " << m_fail_log[i] << "\n"; } - if(m_fail_log.size() > 0 || tests_run() == 0) + if(m_fail_log.size() > 0 || tests_run() == 0 || verbose) { for(size_t i = 0; i != m_log.size(); ++i) { diff --git a/src/tests/tests.h b/src/tests/tests.h index ed7008c34..81243be58 100644 --- a/src/tests/tests.h +++ b/src/tests/tests.h @@ -47,7 +47,7 @@ class Test_Error : public Botan::Exception }; /* -* A generic test which retuns a set of results when run. +* A generic test which returns a set of results when run. * The tests may not all have the same type (for example test * "block" returns results for "AES-128" and "AES-256"). * |