diff options
Diffstat (limited to 'src/tests/test_utils.cpp')
-rw-r--r-- | src/tests/test_utils.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tests/test_utils.cpp b/src/tests/test_utils.cpp index b44faac39..8d46d4a26 100644 --- a/src/tests/test_utils.cpp +++ b/src/tests/test_utils.cpp @@ -12,7 +12,6 @@ #include <botan/loadstor.h> #include <botan/calendar.h> #include <botan/internal/rounding.h> -#include <botan/internal/poly_dbl.h> #include <botan/internal/ct_utils.h> #include <botan/charset.h> #include <botan/parsing.h> @@ -21,6 +20,10 @@ #include <botan/base64.h> #endif +#if defined(BOTAN_HAS_POLY_DBL) + #include <botan/internal/poly_dbl.h> +#endif + namespace Botan_Tests { namespace { @@ -213,6 +216,8 @@ class Utility_Function_Tests final : public Text_Based_Test BOTAN_REGISTER_TEST("util", Utility_Function_Tests); +#if defined(BOTAN_HAS_POLY_DBL) + class Poly_Double_Tests final : public Text_Based_Test { public: @@ -234,6 +239,8 @@ class Poly_Double_Tests final : public Text_Based_Test BOTAN_REGISTER_TEST("poly_dbl", Poly_Double_Tests); +#endif + class Date_Format_Tests final : public Text_Based_Test { public: |