diff options
-rw-r--r-- | src/tests/tests.cpp | 5 |
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] == '#') |