[wp-trac] [WordPress Trac] #50640: [PHPUnit] Mark test as skipped instead of failing if GD extension is not availble

WordPress Trac noreply at wordpress.org
Sat Nov 7 13:18:38 UTC 2020


#50640: [PHPUnit] Mark test as skipped instead of failing if GD extension is not
availble
------------------------------+-----------------------------
 Reporter:  ayeshrajans       |       Owner:  SergeyBiryukov
     Type:  task (blessed)    |      Status:  closed
 Priority:  normal            |   Milestone:  5.6
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch php8    |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49535" 49535]:
 {{{
 #!CommitTicketReference repository="" revision="49535"
 Build/Test Tools: Check if all the required PHP extensions are loaded
 before running the test suite.

 Add the GD extension as a hard requirement.

 This improves the reliability of the test suite and ensures that if the
 test infrastructure changes in the future and a platform requirement such
 as GD accidentally gets removed, the tests fail with an appropriate error
 message.

 Follow-up to [48592].

 Props ayeshrajans, jrf, johnbillion.
 Fixes #50640.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50640#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list