File tree 4 files changed +19
-6
lines changed
4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,13 @@ matrix:
14
14
- php : hhvm
15
15
- php : hhvm-nightly
16
16
17
+ sudo : false
18
+
19
+ before_install :
20
+ - composer self-update
21
+
17
22
install :
18
23
- travis_retry composer install --no-interaction --prefer-source
19
- - if [[ "$TRAVIS_PHP_VERSION" == hhvm* ]]; then echo -e '\nhhvm.libxml.ext_entity_whitelist = "file"' | sudo tee -a /etc/hhvm/php.ini; fi
20
24
21
25
script :
22
26
- ./phpunit
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ GH-1340: Process isolation blocks infinitely upon fatal error
4
4
<?php
5
5
6
6
$ _SERVER ['argv ' ][1 ] = '--no-configuration ' ;
7
- $ _SERVER ['argv ' ][3 ] = 'Issue1340Test ' ;
8
- $ _SERVER ['argv ' ][4 ] = dirname (__FILE__ ).'/1340/Issue1340Test.php ' ;
7
+ $ _SERVER ['argv ' ][2 ] = '-d ' ;
8
+ $ _SERVER ['argv ' ][3 ] = 'error_log= ' ;
9
+ $ _SERVER ['argv ' ][4 ] = 'Issue1340Test ' ;
10
+ $ _SERVER ['argv ' ][5 ] = dirname (__FILE__ ).'/1340/Issue1340Test.php ' ;
9
11
10
12
require __DIR__ . '/../../bootstrap.php ' ;
11
13
PHPUnit_TextUI_Command::main ();
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function testLargeStderrOutputDoesNotBlock()
18
18
// STDERR of a phpt test is not caught/validated at this point, so this
19
19
// error output does not cause this test to fail.
20
20
// @see https://github.com/sebastianbergmann/phpunit/issues/1169
21
- error_log ("\n" . __FUNCTION__ . ": stderr: " . self ::get4KB () . "\n" , 4 );
21
+ error_log ("\n" . __FUNCTION__ . ": stderr: " . self ::get4KB () . "\n" );
22
22
$ this ->assertTrue (true );
23
23
}
24
24
@@ -27,7 +27,7 @@ public function testLargeStderrOutputDoesNotBlock()
27
27
*/
28
28
public function testLargeStderrOutputDoesNotBlockInIsolation ()
29
29
{
30
- error_log ("\n" . __FUNCTION__ . ": stderr: " . self ::get4KB () . "\n" , 4 );
30
+ error_log ("\n" . __FUNCTION__ . ": stderr: " . self ::get4KB () . "\n" );
31
31
$ this ->assertTrue (true );
32
32
}
33
33
@@ -65,6 +65,6 @@ public function testFatalErrorDoesNotPass()
65
65
public static function onShutdown ()
66
66
{
67
67
echo "\nshutdown: stdout: " , self ::get4KB (), "\n" ;
68
- error_log ("\nshutdown: stderr: " . self ::get4KB (), 4 );
68
+ error_log ("\nshutdown: stderr: " . self ::get4KB ());
69
69
}
70
70
}
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
GH-1472: assertEqualXMLStructure modifies the tested elements
3
+ --SKIPIF--
4
+ <?php
5
+ // See: https://github.com/facebook/hhvm/issues/4669
6
+ if (defined ('HHVM_VERSION ' )) {
7
+ print 'skip: HHVM does not support cloning DOM nodes ' ;
8
+ }
9
+ ?>
3
10
--FILE--
4
11
<?php
5
12
$ _SERVER ['argv ' ][1 ] = '--no-configuration ' ;
You can’t perform that action at this time.
0 commit comments