logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: PHP Test results: msg#00040

Subject: Re: PHP Test results
On Tue, 3 Sep 2002, Andrey Hristov wrote:

AH>>> About math function tests:
AH>>> andrey@debian:~/php-4.2.3RC2/ext/standard/tests/strings$ cat round.out
AH>>> 1,1,0,0
AH>>> <br />
AH>>> <b>Warning</b>:  Failed opening 'tests/quicktester.inc' for inclusion
AH>>> (include_path='.:') in
AH>>> <b>/home/andrey/php-4.2.3RC2/ext/standard/tests/math/phpt.Dz3cqT</b> on 
line
AH>>> <b>31</b><br />
AH>>> andrey@debian:~/php-4.2.3RC2/ext/standard/tests/strings$
AH>>> 
AH>>> The output is almost the same for all math tests.
AH>>> 
AH>>> In strings:
AH>>> 
AH>>> andrey@debian:~/php-4.2.3RC2/ext/standard/tests/strings$ cat wordwrap.out
AH>>> <br />
AH>>> <b>Warning</b>:  Failed opening 'tests/quicktester.inc' for inclusion
AH>>> (include_path='.:') in
AH>>> <b>/home/andrey/php-4.2.3RC2/ext/standard/tests/strings/phpt.I8ikrl</b> on
AH>>> line <b>29</b><br />
AH>>> andrey@debian:~/php-4.2.3RC2/ext/standard/tests/strings$
AH>>> 
AH>>> Array .out and .exp attached

What 'make' version are you using? Is it changing dirs when running the tests?

In any case - the quickfix below should take care of that.

--- run-tests.php       Tue Sep  3 12:21:31 2002
+++ run-tests.php.dist  Sat Mar  2 03:37:13 2002
@@ -37,10 +37,6 @@
 define('EXT_DIR_NAME','/php4/ext/');
 define('EXT_DIR_NAME_LEN',strlen(EXT_DIR_NAME));
 
-$path_sep = substr(PHP_OS, 0, 3) == "WIN") ? ';' : ':';
-$include_path = ini_get("include_path");
-ini_set('include_path', "$include_path$path_sep" . getenv('TOP_SRCDIR');
-
 initialize();
 /*
 $opts = parse_options(&$argc, &$argv);

-- 


Melvyn.


-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>