L
Luis Lavena
Hello everybody,
I'm trying to bring up to date the build of Ruby for MinGW. Part of
this is that I found it performs better compiled with GCC than VC8
(Visual Studio 2005).
http://pastie.caboo.se/pastes/95210
I don't want to start another big discussion about what compiler
performs better, but just to scratch my itch...
I searched the group and found that test-all fails on SOAP tests since
you need a previous installation of ruby to do the CGI stuff...
The thing is that even I have it installed and available on path
(after a make install) still get several failures and at least 50
errors.
Found that mix between msys don't blend too well. test-all was trying
to run /usr/local/bin/ruby.exe with D:/path/to/lib/webrick/httpservlet/
cgi_runner.rb
that path mixture don't work under MSYS.
I've narrow and didn't get working just 3 failures:
http://pastie.caboo.se/101393
/miniruby.exe ../ruby-1.8.6-p110/runruby.rb --extout=.ext -- "../
ruby-1.8.6-p110/test/runner.rb" --basedir="../ruby-1.8.6-p110/test" --
runner=console
Loaded suite .
Started
[lots of stripped dots]
Finished in 81.438 seconds.
1) Failure:
test_del_trailing_separator_25(TestPathname) [../ruby-1.8.6-p110/test/
pathname/test_pathname.rb:27]:
del_trailing_separator("\225\\\\").
<"\225\\"> expected but was
<"\225">.
2) Failure:
test_should_propagate_signaled(TestBeginEndBlock) [../ruby-1.8.6-p110/
test/ruby/test_beginendblock.rb:83]:
<nil> expected but was
<3>.
3) Failure:
test_cgi(TestWEBrickCGI)
[../ruby-1.8.6-p110/test/webrick/test_cgi.rb:27:in `test_cgi'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
1050:in `request'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
2133:in `reading_body'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
1049:in `request'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
1034:in `request'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
543:in `start'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
1032:in `request'
../ruby-1.8.6-p110/test/webrick/test_cgi.rb:27:in `test_cgi'
../ruby-1.8.6-p110/test/webrick/utils.rb:26:in `call'
../ruby-1.8.6-p110/test/webrick/utils.rb:26:in `start_server'
../ruby-1.8.6-p110/test/webrick/utils.rb:34:in `start_httpserver'
../ruby-1.8.6-p110/test/webrick/test_cgi.rb:24:in `test_cgi']:
<"/webrick.cgi"> expected but was
<"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<HTML>\n
<HEAD><TITLE>Internal Server Error</TITLE></HEAD>\n <BODY>\n
<H1>Internal Server Error</H1>\n Premature end of script headers:
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/test/webrick/
webrick.cgi\n <HR>\n <ADDRESS>\n WEBrick/1.3.1 (Ruby/
1.8.6/2007-09-23) at\n 127.0.0.1:4190\n </ADDRESS>\n </BODY>
\n</HTML>\n">.
1467 tests, 13738 assertions, 3 failures, 0 errors
===
Is this right?, anyone can confirm/deny, point me in the right
direction?
I'm trying to solve these issues to jump to the next step: fulfill the
extensions dependencies.
Thanks anyone for their time.
Regards,
Luis
I'm trying to bring up to date the build of Ruby for MinGW. Part of
this is that I found it performs better compiled with GCC than VC8
(Visual Studio 2005).
http://pastie.caboo.se/pastes/95210
I don't want to start another big discussion about what compiler
performs better, but just to scratch my itch...
I searched the group and found that test-all fails on SOAP tests since
you need a previous installation of ruby to do the CGI stuff...
The thing is that even I have it installed and available on path
(after a make install) still get several failures and at least 50
errors.
Found that mix between msys don't blend too well. test-all was trying
to run /usr/local/bin/ruby.exe with D:/path/to/lib/webrick/httpservlet/
cgi_runner.rb
that path mixture don't work under MSYS.
I've narrow and didn't get working just 3 failures:
http://pastie.caboo.se/101393
/miniruby.exe ../ruby-1.8.6-p110/runruby.rb --extout=.ext -- "../
ruby-1.8.6-p110/test/runner.rb" --basedir="../ruby-1.8.6-p110/test" --
runner=console
Loaded suite .
Started
[lots of stripped dots]
Finished in 81.438 seconds.
1) Failure:
test_del_trailing_separator_25(TestPathname) [../ruby-1.8.6-p110/test/
pathname/test_pathname.rb:27]:
del_trailing_separator("\225\\\\").
<"\225\\"> expected but was
<"\225">.
2) Failure:
test_should_propagate_signaled(TestBeginEndBlock) [../ruby-1.8.6-p110/
test/ruby/test_beginendblock.rb:83]:
<nil> expected but was
<3>.
3) Failure:
test_cgi(TestWEBrickCGI)
[../ruby-1.8.6-p110/test/webrick/test_cgi.rb:27:in `test_cgi'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
1050:in `request'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
2133:in `reading_body'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
1049:in `request'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
1034:in `request'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
543:in `start'
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/lib/net/http.rb:
1032:in `request'
../ruby-1.8.6-p110/test/webrick/test_cgi.rb:27:in `test_cgi'
../ruby-1.8.6-p110/test/webrick/utils.rb:26:in `call'
../ruby-1.8.6-p110/test/webrick/utils.rb:26:in `start_server'
../ruby-1.8.6-p110/test/webrick/utils.rb:34:in `start_httpserver'
../ruby-1.8.6-p110/test/webrick/test_cgi.rb:24:in `test_cgi']:
<"/webrick.cgi"> expected but was
<"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<HTML>\n
<HEAD><TITLE>Internal Server Error</TITLE></HEAD>\n <BODY>\n
<H1>Internal Server Error</H1>\n Premature end of script headers:
D:/Users/Developer/code/msys-src/ruby-1.8.6-p110/test/webrick/
webrick.cgi\n <HR>\n <ADDRESS>\n WEBrick/1.3.1 (Ruby/
1.8.6/2007-09-23) at\n 127.0.0.1:4190\n </ADDRESS>\n </BODY>
\n</HTML>\n">.
1467 tests, 13738 assertions, 3 failures, 0 errors
===
Is this right?, anyone can confirm/deny, point me in the right
direction?
I'm trying to solve these issues to jump to the next step: fulfill the
extensions dependencies.
Thanks anyone for their time.
Regards,
Luis