aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tests/tests.cpp2
-rw-r--r--src/tests/tests.h2
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").
*