aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-09-14 12:39:05 -0400
committerJack Lloyd <[email protected]>2016-09-15 09:23:22 -0400
commitdc5aa5be4d254f9f7e9b68cd265058011462cdaf (patch)
tree5f883c1fd95d00ec2c9a5cacc974f43149cc9505 /src/tests/tests.h
parentbe4655148cfc8cb048fd53de0965cc5e939c4cbc (diff)
Add cpuid overload to test framework
Diffstat (limited to 'src/tests/tests.h')
-rw-r--r--src/tests/tests.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index 39aaf67cd..43b9e0d3a 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -12,6 +12,7 @@
#include <botan/rng.h>
#include <botan/hex.h>
#include <botan/symkey.h>
+#include <botan/cpuid.h>
#if defined(BOTAN_HAS_BIGINT)
#include <botan/bigint.h>
@@ -442,7 +443,9 @@ class Text_Based_Test : public Test
bool m_first = true;
std::unique_ptr<std::ifstream> m_cur;
+ std::string m_cur_src_name;
std::deque<std::string> m_srcs;
+ std::vector<Botan::CPUID::CPUID_bits> m_cpu_flags;
};
}