I got failures because of no zlib and no open-ssl.
Could you skip tests if we don't have such libraries.
test-results:
Running tests:¶
[30/98] HTTPRequestTest#test_header_set = 0.00 s
- Failure:
test_header_set(HTTPRequestTest) [C:/ko1/src/ruby/trunk/test/net/http/test_http_
request.rb:70]:
Bug #7831 - automatically decode content
[34/98] HTTPRequestTest#test_initialize_accept_encoding = 0.00 s
2) Failure:
test_initialize_accept_encoding(HTTPRequestTest) [C:/ko1/src/ruby/trunk/test/net
/http/test_http_request.rb:59]:
Bug #7831 - automatically decode content
[77/98] TestNetHTTP_v1_2#test_request = 0.14 s
3) Error:
test_request(TestNetHTTP_v1_2):
LoadError: cannot load such file -- openssl
C:/ko1/src/ruby/trunk/lib/net/http.rb:1427:in rescue in transport_request' C:/ko1/src/ruby/trunk/lib/net/http.rb:1407:in
transport_request'
C:/ko1/src/ruby/trunk/lib/net/http.rb:1382:in request' C:/ko1/src/ruby/trunk/test/net/http/test_http.rb:435:in
_test_request__GET'
C:/ko1/src/ruby/trunk/test/net/http/test_http.rb:421:in `block in test_reque
st'
C:/ko1/src/ruby/trunk/lib/net/http.rb:851:in start' C:/ko1/src/ruby/trunk/test/net/http/utils.rb:11:in
start'
C:/ko1/src/ruby/trunk/test/net/http/test_http.rb:420:in `test_request'
[81/98] TestNetHTTP_v1_2#test_set_formDL is deprecated, please use Fiddle
[92/98] TestNetHTTP_v1_2_chunked#test_request = 0.41 s
4) Error:
test_request(TestNetHTTP_v1_2_chunked):
LoadError: cannot load such file -- openssl
C:/ko1/src/ruby/trunk/lib/net/http.rb:1427:in rescue in transport_request' C:/ko1/src/ruby/trunk/lib/net/http.rb:1407:in
transport_request'
C:/ko1/src/ruby/trunk/lib/net/http.rb:1382:in request' C:/ko1/src/ruby/trunk/test/net/http/test_http.rb:435:in
_test_request__GET'
C:/ko1/src/ruby/trunk/test/net/http/test_http.rb:421:in `block in test_reque
st'
C:/ko1/src/ruby/trunk/lib/net/http.rb:851:in start' C:/ko1/src/ruby/trunk/test/net/http/utils.rb:11:in
start'
C:/ko1/src/ruby/trunk/test/net/http/test_http.rb:420:in `test_request'
Finished tests in 14.122794s, 6.9391 tests/s, 30.8013 assertions/s.
98 tests, 435 assertions, 2 failures, 2 errors, 0 skips
ruby -v: ruby 2.0.0dev (2013-02-14 trunk 39236) [i386-mswin32_100]