[wp-trac] [WordPress Trac] #11867: Increase Cross-Plattform portability of the Testsuite

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 11 19:26:32 UTC 2010


#11867: Increase Cross-Plattform portability of the Testsuite
-----------------------------+----------------------------------------------
 Reporter:  hakre            |       Owner:  westi           
     Type:  feature request  |      Status:  new             
 Priority:  normal           |   Milestone:                  
Component:  Unit Tests       |     Version:                  
 Severity:  normal           |    Keywords:  has-patch tested
-----------------------------+----------------------------------------------
 The attached patch increases cross plattform compability for the
 testsuite. It does two things:

  1. Getopt compability for non PHP 5.3 systems (especially Windows but
 also certain *NIX Systems).
  2. Usage of the PATH_SEPARATOR constant for the include path to allow it
 to be used on windows as well.

 With these changes I was able to get the suite to run under windows.

 The 1. deficency
 [http://codex.wordpress.org/Automated_Testing#Running_The_Tests is
 documented in codex] (see ''Note for Windows Users'' remark), the 2. is
 not. After the patch is provided that notice can be removed in codex.

 Additionally I've extended the README.txt for the commandline parameters
 and wordwrapped it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11867>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list