aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_block.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-10-11 11:07:46 -0400
committerJack Lloyd <[email protected]>2015-10-11 11:07:46 -0400
commit386ee3f085a7c9837ef7efbc26876e1bae8110e5 (patch)
tree1dc9029084156fc658096f1b3475e7d5d8002401 /src/tests/test_block.cpp
parent1b417a05cf00be84c7e6ebfd71850282d424be7e (diff)
Don't treat missing ciphers, hashes, etc as test failures
Just print an error message and return. Reduces false fails with smaller builds
Diffstat (limited to 'src/tests/test_block.cpp')
-rw-r--r--src/tests/test_block.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/test_block.cpp b/src/tests/test_block.cpp
index 32e175899..b688ec84e 100644
--- a/src/tests/test_block.cpp
+++ b/src/tests/test_block.cpp
@@ -28,7 +28,10 @@ size_t block_test(const std::string& algo,
size_t fails = 0;
if(providers.empty())
- throw std::runtime_error("Unknown block cipher " + algo);
+ {
+ std::cout << "Unknown block cipher " + algo + " skipping test\n";
+ return 0;
+ }
for(auto provider: providers)
{