Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgsrc/lang/php5 tests failures




So, I was just rebuilding packages on my production NetBSD sparc64 machine, currently running 5.1_RC1. Upon deciding to upgrade my PHP installation to 5.3 (php-5.3.2nb2), I did a full build, then ran make test. After more than an hour, I was presented with many failed tests. Interestingly, going into lang/php5 (php-5.2.13nb1) and doing the same produced even more failed tests. So, I'm guessing it's not dire, but was wondering if anyone knows if these are poor tests, or if there's some issues with the PHP compilation on NetBSD, or 64-bit NetBSD, or BE 64-bit, etc.

Of interesting note were some 64-bit failures, occurring in both php revisions:

Test & operator : 64bit long tests [tests/lang/operators/ bitwiseAnd_basiclong_64bit.phpt] Test ~N operator : 64bit long tests [tests/lang/operators/ bitwiseNot_basiclong_64bit.phpt] Test | operator : 64bit long tests [tests/lang/operators/ bitwiseOr_basiclong_64bit.phpt] Test << operator : 64bit long tests [tests/lang/operators/ bitwiseShiftLeft_basiclong_64bit.phpt] Test >> operator : 64bit long tests [tests/lang/operators/ bitwiseShiftRight_basiclong_64bit.phpt] Test ^ operator : 64bit long tests [tests/lang/operators/ bitwiseXor_basiclong_64bit.phpt] Test % operator : 64bit long tests [tests/lang/operators/ modulus_basiclong_64bit.phpt]
testing integer overflow (64bit) [Zend/tests/int_overflow_64bit.phpt]
mktime() [3] (64-bit) [ext/date/tests/mktime-3-64bit.phpt]
strtotime() and mysql timestamps (64 bit) [ext/date/tests/strtotime- mysql-64bit.phpt]
strtotime() function (64 bit) [ext/date/tests/strtotime3-64bit.phpt]
Test decbin function : 64bit long tests [ext/standard/tests/math/ decbin_basiclong_64bit.phpt] Test dechex function : 64bit long tests [ext/standard/tests/math/ dechex_basiclong_64bit.phpt] Test decoct function : 64bit long tests [ext/standard/tests/math/ decoct_basiclong_64bit.phpt] Test log10 function : 64bit long tests [ext/standard/tests/math/ log10_basiclong_64bit.phpt] Test var_dump() function [ext/standard/tests/general_functions/ var_dump_64bit.phpt]

...and, some "basic functionality" tests on what seem like very simple operations/syscalls:

chmod() basic fuctionality [ext/standard/tests/file/chmod_basic.phpt]
proc_nice() basic behaviour [ext/standard/tests/general_functions/ proc_nice_basic.phpt]
proc_open [ext/standard/tests/general_functions/proc_open02.phpt]
Test usleep() function [ext/standard/tests/general_functions/ usleep_basic.phpt] Test log() - basic function test log() [ext/standard/tests/math/ log_basic.phpt]

Can anyone tell me if these are known issues? And, should I expect any software I run under PHP to fail in areas such as these, or are the tests written presuming things that are unrealistic or inaccurate?

  Thanks....

                                - Chris



Home | Main Index | Thread Index | Old Index