Re: PHP Test results

From: Date: Tue, 03 Sep 2002 10:22:14 +0000
Subject: Re: PHP Test results
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-5944@lists.php.net to get a copy of this message
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 AH>>> inclusion AH>>> (include_path='.:') in AH>>> <b>/home/andrey/php-4.2.3RC2/ext/standard/tests/math/phpt.Dz3cqT</b> on AH>>> 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 AH>>> inclusion AH>>> (include_path='.:') in AH>>> <b>/home/andrey/php-4.2.3RC2/ext/standard/tests/strings/phpt.I8ikrl</b> AH>>> 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.

« previous php.qa (#5944) next »