aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-15 12:41:59 -0400
committerJack Lloyd <[email protected]>2017-09-15 12:41:59 -0400
commit92245ad040b8f0e08a4a57137be5739e5c7bfbdc (patch)
treeb7f05cb85c1028a728ca4f87228b42634da1f0c9 /src/tests/tests.cpp
parent3ad91d3c8c06cf77e69b9a1c80fce236f660956b (diff)
Change wide block OCB
Ted Krovetz confirmed there were bugs in the reference code for blocks > 128 bits so these values should be the correct ones.
Diffstat (limited to 'src/tests/tests.cpp')
-rw-r--r--src/tests/tests.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/tests.cpp b/src/tests/tests.cpp
index 8f8aeec82..d7917bcc6 100644
--- a/src/tests/tests.cpp
+++ b/src/tests/tests.cpp
@@ -1032,7 +1032,10 @@ std::vector<Test::Result> Text_Based_Test::run()
if(result.tests_failed())
{
- result.test_note("Test #" + std::to_string(test_cnt) + " failed");
+ if(header.empty())
+ result.test_note("Test #" + std::to_string(test_cnt) + " failed");
+ else
+ result.test_note("Test #" + std::to_string(test_cnt) + " " + header + " failed");
}
results.push_back(result);
}