diff options
author | Simon Warta <[email protected]> | 2015-06-26 20:20:32 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-03 10:33:45 +0200 |
commit | f472b8fc61accbbaa6a36af9d2d20b0fde37a1a2 (patch) | |
tree | 8e71c24da6f7f5b037024741105ca392369e590a /src/tests/test_tss.cpp | |
parent | cd9037e29f32197b9c37ef7bec955ac2372b543b (diff) |
Make Botan compile when only some modules are enabled
Fixes #146.
Diffstat (limited to 'src/tests/test_tss.cpp')
-rw-r--r-- | src/tests/test_tss.cpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/tests/test_tss.cpp b/src/tests/test_tss.cpp index 23ea89b19..561336f9d 100644 --- a/src/tests/test_tss.cpp +++ b/src/tests/test_tss.cpp @@ -6,11 +6,10 @@ #include "tests.h" -#include <botan/hex.h> -#include <iostream> - #if defined(BOTAN_HAS_THRESHOLD_SECRET_SHARING) +#include <iostream> +#include <botan/hex.h> #include <botan/tss.h> size_t test_tss() @@ -53,9 +52,7 @@ size_t test_tss() return fails; } #else -size_t test_tss() - { - std::cout << "Skipping TSS tests" << std::endl; - return 1; - } -#endif + +SKIP_TEST(tss); + +#endif // BOTAN_HAS_THRESHOLD_SECRET_SHARING |