Permalink
Browse files

Add composer-in-php7-mode to HHVM test suite

Summary:
99.09% pass, a few more symfony-passing-things-that-aren't-strings problems
similar to the SplFileInfo/dirname one though.

refs #7869

Depends on D5196198

Reviewed By: mofarrell

Differential Revision: D5202473

fbshipit-source-id: e4e266c68075c83588771442f3aa7904d308d00b
  • Loading branch information...
fredemmott authored and hhvm-bot committed Jun 8, 2017
1 parent eeabb7e commit af3471b40468023035d4308f7f73de80bdf03927
@@ -0,0 +1,10 @@
<?hh
require_once __DIR__.'/../Framework.php';
class Composer_PHP7 extends Framework {
public function __construct(string $name) {
$tc = get_runtime_build().' -c '.__DIR__.'/../php7.ini'.
' vendor/bin/phpunit';
parent::__construct($name, $tc);
}
}
@@ -84,6 +84,15 @@
flakey:
# Depends on internet connection to example.com
- composer/tests/Composer/Test/Util/RemoteFilesystemTest.php
composer_php7:
url: https://github.com/composer/composer.git
branch: 1.4.2
commit: 489e09ee6c3ba431fbeeef9147afdaeb6f91b647
install_root: composer_php7
test_root: composer_php7
flakey:
# Depends on internet connection to example.com
- composer_php7/tests/Composer/Test/Util/RemoteFilesystemTest.php
doctrine2:
url: https://github.com/doctrine/doctrine2.git
# Stable is 2.4.4, but need master since we have pull requests.
@@ -0,0 +1,23 @@
[date]
date.timezone = America/Los_Angeles
[php]
error_reporting = E_ALL & ~E_NOTICE
[hhvm]
hhvm.jit = false
hhvm.jit_a_size = 10485760
hhvm.jit_a_cold_size = 4194304
hhvm.jit_a_frozen_size = 6291456
hhvm.jit_global_data_size = 2097152
hhvm.enable_zend_compat = true
hhvm.mysql.read_timeout = 5000
hhvm.error_handling.notice_frequency = 1
hhvm.error_handling.warning_frequency = 1
hhvm.http.slow_query_threshold = 0
hhvm.resource_limit.serialization_size_limit = 134217728
hhvm.libxml.ext_entity_whitelist = "file"
hhvm.php7.all=1
; We run the typechecker in our CI systems anyway; running it usually isn't
; a good idea if you have a full framework_downloads/ directory.
hhvm.hack.lang.auto_typecheck = 0
Oops, something went wrong.

0 comments on commit af3471b

Please sign in to comment.