Skip to content

Commit 4b9259e

Browse files
committed
Skip HTTPS tests for HHVM
1 parent 6ac30ce commit 4b9259e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/FunctionalGentooClientTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ class FunctionalGentooClientTest extends TestCase
1414

1515
public function setUp()
1616
{
17+
if (!function_exists('stream_socket_enable_crypto')) {
18+
$this->markTestSkipped('TLS (HTTPS) not supported by your platform (HHVM?)');
19+
}
20+
1721
$url = 'https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/';
1822

1923
$this->loop = LoopFactory::create();

0 commit comments

Comments
 (0)