File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ public function testPeriodicExampleWithSleepNoInputQuitsOnEnd()
34
34
35
35
public function testPeriodicExampleWithClosedInputQuitsImmediately ()
36
36
{
37
+ if (getenv ('CI ' ) === 'true ' && (defined ('HHVM_VERSION ' ) || PHP_VERSION_ID >= 70000 )) {
38
+ $ this ->markTestSkipped ('Test fails for Github CI with PHP >= 7.0 and HHVM ' );
39
+ }
40
+
37
41
$ output = $ this ->execExample ('php 01-periodic.php <&- ' );
38
42
39
43
if (strpos ($ output , 'said ' ) !== false ) {
@@ -45,6 +49,9 @@ public function testPeriodicExampleWithClosedInputQuitsImmediately()
45
49
46
50
public function testPeriodicExampleWithClosedInputAndOutputQuitsImmediatelyWithoutOutput ()
47
51
{
52
+ if (getenv ('CI ' ) === 'true ' && (defined ('HHVM_VERSION ' ) || PHP_VERSION_ID >= 70000 )) {
53
+ $ this ->markTestSkipped ('Test fails for Github CI with PHP >= 7.0 and HHVM ' );
54
+ }
48
55
$ output = $ this ->execExample ('php 01-periodic.php <&- >&- 2>&- ' );
49
56
50
57
if (strpos ($ output , 'said ' ) !== false ) {
@@ -105,6 +112,10 @@ public function testStubCanEndWithoutReadlineFunctions()
105
112
106
113
public function testPeriodicExampleViaInteractiveModeQuitsImmediately ()
107
114
{
115
+ if (getenv ('CI ' ) === 'true ' && PHP_VERSION_ID >= 70000 ) {
116
+ $ this ->markTestSkipped ('Test fails for Github CI with PHP >= 7.0 and HHVM ' );
117
+ }
118
+
108
119
if (defined ('HHVM_VERSION ' )) {
109
120
$ this ->markTestSkipped ('Skipped interactive mode on HHVM ' );
110
121
}
You can’t perform that action at this time.
0 commit comments