Compiling PHP always generates failed tests when running make test

Discussion in 'PHP' started by Skalek, Aug 10, 2009.

  1. #1
    I am upgrading to PHP 5.3.10 and have noticed that regardless of the flags I use when configuring the source code, during the make test I always get failed tests. Is this something to be concerned about? Is there any easy to resolve these types of failures?
     
    Skalek, Aug 10, 2009 IP
  2. Dennis M.

    Dennis M. Active Member

    Messages:
    119
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    What are the errors and what operating system are you using? If you're running a *BSD you may have to use the 'gmake' command rather than make. But again, hard to say without seeing the errors and knowing more about the system that PHP is trying to be compiled on.

    Regards,
    Dennis M.
     
    Dennis M., Aug 10, 2009 IP
  3. Skalek

    Skalek Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am running Centos 4.7 and receiving these failed tests when running a make test.

    =====================================================================
    FAILED TEST SUMMARY
    ---------------------------------------------------------------------
    Bug #22592 (cascading assignments to strings with curly braces broken) [tests/lang/bug22592.phpt]
    Bug #48058 (Year formatter goes wrong with out-of-int range) [ext/date/tests/bug48058.phpt]
    date_create() with large relative offsets [ext/date/tests/date_create-relative.phpt]
    Bug #42082 (NodeList length zero should be empty) [ext/dom/tests/bug42082.phpt]
    Bug #16069 (ICONV transliteration failure) [ext/iconv/tests/bug16069.phpt]
    iconv stream filter [ext/iconv/tests/iconv_stream_filter_delimiter.phpt]
    posix_initgroups(): Basic tests [ext/posix/tests/posix_initgroups.phpt]
    posix_initgroups(): Basic tests [ext/posix/tests/posix_initgroups_basic.phpt]
    Test posix_times() [ext/posix/tests/posix_times.phpt]
    Test posix_times() function : basic functionality [ext/posix/tests/posix_times_basic.phpt]
    Test natcasesort() function : usage variations - different numeric types [ext/standard/tests/array/natcasesort_variation3.phpt]
    Bug #38770 (unpack() broken with longs on 64 bit machines) [ext/standard/tests/strings/bug38770.phpt]
    xmlwriter_open_uri with PHP_MAXPATHLEN + 1 [ext/xmlwriter/tests/bug48204.phpt]
    xmlwriter_write_attribute_ns basic function tests [ext/xmlwriter/tests/xmlwriter_write_attribute_ns_basic_001.phpt]
    xmlwriter_write_attribute_ns with missing param [ext/xmlwriter/tests/xmlwriter_write_attribute_ns_error_001.phpt]
    xmlwriter_write_dtd basic function tests [ext/xmlwriter/tests/xmlwriter_write_dtd_basic_001.phpt]
    =====================================================================
    
    =====================================================================
    EXPECTED FAILED TEST SUMMARY
    ---------------------------------------------------------------------
    ob_start(): Ensure unerasable buffer cannot be flushed by ob_flush(). [tests/output/ob_start_basic_unerasable_005.phpt]
    Bug #42718 (unsafe_raw filter not applied when configured as default filter) [ext/filter/tests/bug42718.phpt]
    SPL: ArrayObject::exchangeArray() basic usage with object as underlying data store. [ext/spl/tests/arrayObject_exchangeArray_basic3.phpt]
    
    =====================================================================
    
    Code (markup):
    Thanks!
     
    Skalek, Aug 11, 2009 IP