aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-09-14 13:09:11 -0400
committerJack Lloyd <[email protected]>2016-09-15 09:23:22 -0400
commita7eba3629cc0d76444f5241fb4b9e8793ddb61cd (patch)
treef202fca49cc70783775f84e5831b3db66f8f41fc /src
parentdc5aa5be4d254f9f7e9b68cd265058011462cdaf (diff)
Fix build on PowerPC. Fix test runs on non-x86
Diffstat (limited to 'src')
-rw-r--r--src/tests/tests.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/tests/tests.cpp b/src/tests/tests.cpp
index 2913e5445..2e8a1e4de 100644
--- a/src/tests/tests.cpp
+++ b/src/tests/tests.cpp
@@ -715,7 +715,7 @@ std::vector<Botan::CPUID::CPUID_bits> map_cpuid_string(const std::string& tok)
#if defined(BOTAN_TARGET_CPU_IS_PPC_FAMILY)
if(tok == "altivec" || tok == "simd")
- return {Botan::CPUID::CPUID_ALITVEC_BIT};
+ return {Botan::CPUID::CPUID_ALTIVEC_BIT};
#endif
return {};
@@ -762,9 +762,6 @@ std::vector<Test::Result> Text_Based_Test::run()
m_cpu_flags = parse_cpuid_bits(pragma_tokens);
- if(m_cpu_flags.empty())
- throw Test_Error("Empty cpuid pragma in " + m_cur_src_name);
-
continue;
}
else if(line[0] == '#')