316 Star 1.5K Fork 325

GVPswoole / swoole-src

 / 详情

make test到底重不重要,还有测试脚本有没有问题?

Backlog
Opened this issue  
2017-09-13 18:06

我编译好了无法通过测试,卡在第 33 个测试,前面还有很多 FAIL:

=====================================================================
TIME START 2017-09-13 09:47:36
=====================================================================
FAIL swoole_async: linux native aio readfile & writefile [tests/swoole_async/aio1.phpt] 
FAIL swoole_async: linux native aio read [tests/swoole_async/aio2.phpt] 
FAIL swoole_async: linux native aio write [tests/swoole_async/aio3.phpt] 
PASS swoole_async: parallel_read_copy_10m_file [tests/swoole_async/parallel_read_copy_10m_file_with_1m_chunk.phpt] 
PASS swoole_async: parallel_read_copy_10m_file [tests/swoole_async/parallel_read_copy_10m_file_with_512k_chunk.phpt] 
PASS swoole_async: swoole_async_read [tests/swoole_async/readfile.phpt] 
PASS swoole_async: recursive write file [tests/swoole_async/recursive_write.phpt] 
PASS swoole_async: sequence copy 10m file [tests/swoole_async/serial_read_copy_10m_file.phpt] 
PASS swoole_async: swoole_async_dns_lookup [tests/swoole_async/swoole_async_dns_lookup.phpt] 
PASS swoole_async: swoole_async_read [tests/swoole_async/swoole_async_read.phpt] 
PASS swoole_async: swoole_async_set [tests/swoole_async/swoole_async_set.phpt] 
FAIL swoole_async: swoole_async_write [tests/swoole_async/swoole_async_write.phpt] 
PASS swoole_async: swoole_async_read [tests/swoole_async/writefile.phpt] 
PASS swoole_atomic: add/sub/get/cmpset [tests/swoole_atomic/atomic.phpt] 
PASS swoole_atomic: wakeup & wait [tests/swoole_atomic/wait.phpt] 
PASS swoole_buffer: read and write swoole_buffer [tests/swoole_buffer/buffer_append.phpt] 
PASS swoole_buffer: read and write swoole_buffer [tests/swoole_buffer/buffer_clear.phpt] 
PASS swoole_buffer: read and write swoole_buffer [tests/swoole_buffer/buffer_expand.phpt] 
PASS swoole_buffer: read and write swoole_buffer [tests/swoole_buffer/buffer_read_write.phpt] 
PASS swoole_buffer: read and write swoole_buffer [tests/swoole_buffer/buffer_recycle.phpt] 
PASS swoole_buffer: read and write swoole_buffer [tests/swoole_buffer/buffer_substr.phpt] 
PASS swoole_buffer: default contruct buffer [tests/swoole_buffer/construct_buffer.phpt] 
PASS swoole_channel: push & pop & stats [tests/swoole_channel/channel.phpt] 
FAIL swoole_client: big_package_memory_leak [tests/swoole_client_async/big_package_memory_leak.phpt] 
FAIL swoole_client: onBufferFull & onBufferEmpty [tests/swoole_client_async/buffer_full.php.phpt] 
PASS swoole_client: connect refuse [tests/swoole_client_async/connect_refuse.phpt] 
PASS swoole_client: connect_host_not_found [tests/swoole_client_async/connect_timeout.phpt] 
PASS swoole_client: connect twice [tests/swoole_client_async/connect_twice.phpt] 
FAIL swoole_client: getSocket debug [tests/swoole_client_async/getSocket_bug.phpt] 
PASS swoole_client: getsockpeername [tests/swoole_client_async/getpeername.phpt] 
FAIL swoole_client: swoole_client getsockname [tests/swoole_client_async/getsockname.phpt] 
FAIL swoole_client: async sendfile [tests/swoole_client_async/sendfile.phpt] 
^Cmake: *** wait: No child processes.  Stop._wake.phpt]

Comments (2)

oforz created 任务

Mac 系统有很多特性不支持的,请使用 Linux 系统,请删除 sleep_wake.phpt 脚本

@swoole 我这就是 Linux 系统,debian系的

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
6028 scus 1578914384
C
1
https://git.oschina.net/swoole/swoole.git
git@git.oschina.net:swoole/swoole.git
swoole
swoole
swoole-src

Search