Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8b9d95e

Browse filesBrowse files
committed
Fix pathological test suite failing not loading extensions in CI
1 parent 5156796 commit 8b9d95e
Copy full SHA for 8b9d95e

File tree

Expand file treeCollapse file tree

1 file changed

+6
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-1
lines changed

‎tests/pathological/test.php

Copy file name to clipboardExpand all lines: tests/pathological/test.php
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,12 @@
291291
$timeout = \max(5, \min(60, $timeout));
292292
}
293293

294-
$command = ['php', '-n', 'convert.php'];
294+
if (isset($_ENV['CI']) || isset($_SERVER['CI'])) {
295+
$command = ['php', 'convert.php'];
296+
} else {
297+
$command = ['php', '-n', 'convert.php'];
298+
}
299+
295300
if (isset($case['extension'])) {
296301
$command[] = $case['extension'];
297302
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.