From f472b8fc61accbbaa6a36af9d2d20b0fde37a1a2 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Fri, 26 Jun 2015 20:20:32 +0200 Subject: Make Botan compile when only some modules are enabled Fixes #146. --- src/tests/test_mceliece.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/tests/test_mceliece.cpp') diff --git a/src/tests/test_mceliece.cpp b/src/tests/test_mceliece.cpp index 8f1d3b6a3..c0ff1d435 100644 --- a/src/tests/test_mceliece.cpp +++ b/src/tests/test_mceliece.cpp @@ -8,6 +8,8 @@ #include "tests.h" +#if defined(BOTAN_HAS_MCELIECE) + #include #include #include @@ -307,3 +309,9 @@ size_t test_mceliece() test_report("McEliece", tests, fails); return fails; } + +#else + +SKIP_TEST(mceliece); + +#endif // BOTAN_HAS_MCELIECE -- cgit v1.2.3