com php-src: Skip new OpenSSL ECC tests on 32bit: ext/openssl/tests/029.phpt ext/openssl/tests/ecc.phpt

From: Date: Tue, 28 Jun 2016 19:39:31 +0000
Subject: com php-src: Skip new OpenSSL ECC tests on 32bit: ext/openssl/tests/029.phpt ext/openssl/tests/ecc.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92708@lists.php.net to get a copy of this message
Commit: 0a4f89bc292c3c82ff719cd79e66ef96c2079526 Author: Jakub Zelenka <bukka@php.net> Tue, 28 Jun 2016 20:39:31 +0100 Parents: e48ded4bf8e0ee2452bde99a220509a31e6ba46f Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0a4f89bc292c3c82ff719cd79e66ef96c2079526 Log: Skip new OpenSSL ECC tests on 32bit There has been reported that they fail on 32bit so they will be skipped till the issue is investigated. Changed paths: M ext/openssl/tests/029.phpt M ext/openssl/tests/ecc.phpt Diff: diff --git a/ext/openssl/tests/029.phpt b/ext/openssl/tests/029.phpt index cf43e0e..277721d 100644 --- a/ext/openssl/tests/029.phpt +++ b/ext/openssl/tests/029..phpt @@ -4,6 +4,7 @@ openssl_pkey_new() with EC key <?php if (!extension_loaded("openssl")) die("skip"); if (!defined("OPENSSL_KEYTYPE_EC")) die("skip no EC available"); +if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php diff --git a/ext/openssl/tests/ecc.phpt b/ext/openssl/tests/ecc.phpt index 5df0130..a3924d3 100644 --- a/ext/openssl/tests/ecc.phpt +++ b/ext/openssl/tests/ecc.phpt @@ -1,7 +1,10 @@ --TEST-- openssl_*() with OPENSSL_KEYTYPE_EC --SKIPIF-- -<?php if (!extension_loaded("openssl") && !defined("OPENSSL_KEYTYPE_EC")) print "skip"; ?> +<?php +if (!extension_loaded("openssl") && !defined("OPENSSL_KEYTYPE_EC")) print "skip"; +if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); +?> --FILE-- <?php $args = array(

« previous php.cvs (#92708) next »