[PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Test results PHP 4.2.3RC1 on Compaq Tru64
by Melvyn Sopacua other posts by this author
Aug 24 2002 9:19AM messages near this date
RE: [PHP-QA] Test results PHP 4.2.3RC1 on Compaq Tru64
|
[PHP-QA] Test results PHP 4.2.3RC1 on Compaq Tru64
On Sat, 24 Aug 2002, Sebastian Nohn wrote:
SN> >> > -----Original Message-----
SN> >> > From: Sebastian Nohn [mailto:sebastian@[...].net]
SN> >> > Sent: Saturday, August 24, 2002 8:03 AM
SN> >> > To: PHP Quality Assurance Team Mailing List
SN> >> > Cc: PHP Developers Mailing List
SN> >> > Subject: [PHP-QA] Test results PHP 4.2.3RC1 on Compaq Tru64
SN> >> >
SN> >> > Running tests in /house/nohn/php-4.2.3RC1/ext/standard/tests/array
SN> >> > ==================================================================
SN> >> > Test array_merge and array_walk (001.phpt) ...
SN> >> > failed
SN> >> > Test arsort, asort, krsort, ksort, rsort, and sort (002.phpt) ...
SN> >> > failed
SN> >> > Test usort, uksort and uasort (003.phpt) ...
SN> >> > failed
SN> >>
SN> >> These tests failed on my x86 Linux box too. So I think the test-scripts are
SN> >> broken (I don't hope sort-functions are also broken on 32Bit with 4.2.3). To
SN> >> tired to verify this now, what I tested ist that the sort-functions REALLY
SN> >> fail on Tru64.
Since run-tests.php doesn't run use a php.ini explicetely, it takes it's --with-config-file-
path argument, or the default $(INSTALL_PREFIX}/lib/php.
If that dir exists and has a previous php.ini, the array tests will fail, on the precision c
hange (from 14 to 12).
Apply patch below, or use another install prefix, or set --with-config-file-path to $(TOP_BU
ILD_DIR) and symlink php.ini-dist into php.ini.
However - if an sdiff on 001.out / 001.exp reveals that int(0) is shown for the sub arrays,
then array_sum is broken again - see: http://bugs.php.net/bug.php?id=19006 for that.
Index: run-tests.php
===================================================================
RCS file: /repository/php4/run-tests.php,v
retrieving revision 1.34
diff -u -r1.34 run-tests.php
--- run-tests.php 2 Mar 2002 02:37:13 -0000 1.34
+++ run-tests.php 24 Aug 2002 08:51:05 -0000
@@ -162,11 +162,11 @@
}
if (isset($_ENV["TOP_BUILDDIR"]) && @is_executable($_ENV["TOP_BUILDDIR"]."/sapi/cli/php
{$ext}")) {
- $php = $_ENV["TOP_BUILDDIR"]."/sapi/cli/php{$ext}";
+ $php = $_ENV["TOP_BUILDDIR"]."/sapi/cli/php{$ext} -c ".$_ENV["TOP_BUILDDIR"]."/php.
ini-dist";
} elseif (isset($_ENV["TOP_BUILDDIR"]) && @is_executable($_ENV["TOP_BUILDDIR"]."/php{$e
xt}")) {
- $php = $_ENV["TOP_BUILDDIR"]."/php{$ext}";
+ $php = $_ENV["TOP_BUILDDIR"]."/php{$ext} -c ".$_ENV["TOP_BUILDDIR"]."/php.ini-dist"
;
} elseif (@is_executable("./php{$ext}")) {
- $php = getcwd() . "/php{$ext}";
+ $php = getcwd() . "/php{$ext} -c ".$_ENV["TOP_BUILDDIR"]."/php.ini-dist";
}
if (empty($php)) {
$php = in_path("php", $windows_p);
--
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Zeev Suraski
Sebastian Nohn
Sebastian Nohn
Sebastian Nohn
Melvyn Sopacua
Sebastian Nohn
Melvyn Sopacua
Sebastian Nohn
Sebastian Nohn
Dan Kalowsky
|