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_aead.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/tests/test_aead.cpp') diff --git a/src/tests/test_aead.cpp b/src/tests/test_aead.cpp index e9f002e19..603fdc1b0 100644 --- a/src/tests/test_aead.cpp +++ b/src/tests/test_aead.cpp @@ -6,6 +6,8 @@ #include "tests.h" +#if defined(BOTAN_HAS_AEAD_MODES) + #include #include #include @@ -143,3 +145,9 @@ size_t test_aead() return run_tests_in_dir(TEST_DATA_DIR "aead", test); } + +#else + +SKIP_TEST(aead); + +#endif // BOTAN_HAS_AEAD_MODES -- cgit v1.2.3