summaryrefslogtreecommitdiff
path: root/validat3.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-08-09 17:23:35 -0400
committerJeffrey Walton <noloader@gmail.com>2018-08-09 17:23:35 -0400
commit99ab11d1edef233cba07a0ae7725d947f973b409 (patch)
tree026b985cacf7def5bee5b7fdef579337cbf0eb8d /validat3.cpp
parent1b5422eb49a39af0f649ebc02167068a31caea19 (diff)
downloadcryptopp-git-99ab11d1edef233cba07a0ae7725d947f973b409.tar.gz
Add TestAltivecOps for Debug builds
Diffstat (limited to 'validat3.cpp')
-rw-r--r--validat3.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/validat3.cpp b/validat3.cpp
index 4a2be166..10ee1188 100644
--- a/validat3.cpp
+++ b/validat3.cpp
@@ -70,6 +70,10 @@ bool ValidateAll(bool thorough)
// http://github.com/weidai11/cryptopp/issues/346
pass=TestASN1Parse() && pass;
// Always part of the self tests; call in Debug
+# if defined(CRYPTOPP_ALTIVEC_AVAILABLE)
+ pass=TestAltivecOps() && pass;
+# endif
+ // Always part of the self tests; call in Debug
pass=ValidateBaseCode() && pass;
// https://github.com/weidai11/cryptopp/issues/562
pass=ValidateEncoder() && pass;