HPHP test: skip aes256gcm libsodium test when running on non x86 systems
commit1cb44861d25f3f4c90ddc6a21fb755daf34df89a
authorStephen Chen <tracelog@fb.com>
Fri, 16 Mar 2018 23:39:01 +0000 (16 16:39 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 19 Mar 2018 23:42:39 +0000 (19 16:42 -0700)
tree65456700b8e7b622f4bc863f9122a2bbbcf74cc3
parent889eb5e2318a2d27a277c0c20c7b0512baf7fa45
HPHP test: skip aes256gcm libsodium test when running on non x86 systems

Summary:
In libsodium, aes256gcm is only implemented using intel vector extentions and is
not available on non x86 systems.

So split the libsodium keygen test into two tests. This allows us selectively
skip the aes256gcm on platforms that don't support it.

Reviewed By: mxw

Differential Revision: D7307181

fbshipit-source-id: 62f3bfdf69ce713c31cf76156697bc86246899d0
hphp/test/slow/sodium/keygen.php
hphp/test/slow/sodium/keygen.php.expect
hphp/test/slow/sodium/keygen_aes256gcm.php [new file with mode: 0644]
hphp/test/slow/sodium/keygen_aes256gcm.php.expect [new file with mode: 0644]
hphp/test/slow/sodium/keygen_aes256gcm.php.skipif [new file with mode: 0644]