unit-tests: Show how many test vectors have failed on test failure
This commit is contained in:
1 parent
b4d43a542f
commit
b74b8addf8
1 file changed
+2
-1
@@ -21,7 +21,8 @@
|
||||
|
||||
START_TEST(test_vectors)
|
||||
{
|
||||
fail_if(lib->crypto->get_test_vector_failures(lib->crypto));
|
||||
u_int failed = lib->crypto->get_test_vector_failures(lib->crypto);
|
||||
fail_if(failed > 0, "%u test vectors failed", failed);
|
||||
}
|
||||
END_TEST
|
||||
|
||||
|
||||
Reference in new issue
Block a user