dongyied24121 2017-11-27 13:49
浏览 328
已采纳

PHP7从源代码编译 - 得到了几个测试失败

I'm trying to compile php 7.1.12 from source on Ubuntu server 16.04. All looks good until make test completed. I got several test failures. I also tried compiling php 7.1.11, 7.1.7, 5.6.23 from source (I also tried on Debian 9). They all have test failures. Does it matter?

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #64267 (CURLOPT_INFILE doesn't allow reset) [ext/curl/tests/bug64267.phpt]
Bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes while curl_multi_exec) [ext/curl/tests/bug71523.phpt]
Test function getservbyname() by substituting argument 2 with emptyUnsetUndefNull values. [ext/standard/tests/general_functions/getservbyname_variation10.phpt]
Test function getservbyname() by substituting argument 2 with boolean values. [ext/standard/tests/general_functions/getservbyname_variation9.phpt]
FPM: Startup and connect [sapi/fpm/tests/002.phpt]
FPM: Test Unix Domain Socket [sapi/fpm/tests/009.phpt]
FPM: Test IPv4 all addresses (bug #68420) [sapi/fpm/tests/011.phpt]
FPM: Test reload configuration (bug #68442) [sapi/fpm/tests/012.phpt]
FPM: Test for log_level in fpm_unix_init_main #68381 [sapi/fpm/tests/013.phpt]
FPM: Test for pm.start_servers default calculation message being a notice and not a warning #68458 [sapi/fpm/tests/014.phpt]
FPM: Test fastcgi_finish_request function [sapi/fpm/tests/017.phpt]
FPM: Test global prefix [sapi/fpm/tests/019.phpt]
FPM: Test pool prefix [sapi/fpm/tests/020.phpt]
FPM: HTTP_PROXY - CVE-2016-5385 [sapi/fpm/tests/022-cve-2016-5385.phpt]
=====================================================================
  • 写回答

2条回答 默认 最新

  • douhe1002 2017-11-27 14:52
    关注

    Don't worry about test failures, if your compilation job finished successfully then the resulting PHP should work. You should be prompted to send a report of the failed tests to the PHP project - please do so, it helps understand if these failures are actual errors.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services