11 Commits

Author SHA1 Message Date
Mislav Marohnić
b0d9a14459 fix OpenSSL JRuby loading bug on Travis
The error was:

    NameError: uninitialized constant OpenSSL::OPENSSL_VERSION

It seems to choke when "openssl" is required in a thread.
Not always, though.
2012-08-16 18:21:20 +02:00
Mislav Marohnić
9b3923f62c move WEBrick SSL config to script/test 2012-08-16 18:21:00 +02:00
Mislav Marohnić
43f8079f24 script/test: try avoid rbx glitch
rbx in 1.9 mode on Travis:

    wrong status line: "GET /echo HTTP/1.1"

http://travis-ci.org/#!/technoweenie/faraday/jobs/2141589
2012-08-16 18:20:23 +02:00
Mislav Marohnić
924cf57e7c script/test: avoid using Timeout while waiting for server 2012-08-16 18:20:20 +02:00
Mislav Marohnić
62958fa955 fix script/test exit status 2012-08-16 18:19:42 +02:00
Lars Gierth
a6d90f3506 Don't buffer test logs 2012-08-15 19:36:44 +02:00
Lars Gierth
e15b51b3bb Fix test shebang
/usr/bin/env "officially" treats options as part of the filename.
More info in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/237208
2012-08-13 01:53:25 +02:00
Mislav Marohnić
76dec1e506 script/test: support extra args for test/unit after "--"
Example

    $ script/test net_http -- -n /timeout/
2012-08-12 15:59:46 +02:00
Mislav Marohnić
0ae3789bf4 script/test: nicer message when bundle is out of date 2012-08-12 15:59:46 +02:00
Mislav Marohnić
d407323ec1 increase script/test timeout to hopefully fix rbx
References http://travis-ci.org/#!/technoweenie/faraday/jobs/2100372
2012-08-12 15:59:46 +02:00
Mislav Marohnić
e6787c144b script/test spins up test server, runs test suite 2012-06-19 11:15:11 +02:00