tarui
5f960a9ca2
* test/rubygems/gemutilities.rb: check ENV['make'] for make_command.
...
* test/rubygems/test_gem_ext_configure_builder.rb: use gemutilities' make_command.
* test/rubygems/test_gem_ext_ext_conf_builder.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28 16:01:22 +00:00
mame
5b5c6378c7
* test/rdoc/test_rdoc_ri_driver.rb (TestRDocRIDriver#test_formatter):
...
fix a test accordingly to r28455.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28 13:16:17 +00:00
suke
392255310c
* test/win32ole/test_win32ole_method.rb (test_offset_vtbl): check
...
that Ruby is 32bit or 64bit binary in order to get correct offset
value. [ruby-dev:41741]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28 11:38:48 +00:00
nobu
a67f1a9534
* include/ruby/io.h, io.c: reverted r21709.
...
* ruby.c (load_file_internal): nothing to read if EOF reached
while reading shebang. [ruby-core:30910]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-27 14:31:19 +00:00
nobu
6f95792347
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): no needs to copy the
...
original ENV, since it's done in spawn automatically.
[ruby-dev:41733]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-26 01:08:46 +00:00
suke
7e195fa734
* test/win32ole/test_win32ole_method.rb (test_offset_vtbl): check
...
that OS is Windows 32bit or Windows 64bit in order to get
correct offset value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-25 23:05:32 +00:00
tarui
db4a0d42dd
* ext/dl/lib/dl/func.rb (call): don't overwrite original arguments
...
to defend from GC.
* test/dl/test_func.rb (test_string): add test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-25 19:43:15 +00:00
jeg2
effa0c76d9
* lib/csv.rb: Fixing a bug that prevented CSV from parsing
...
all multi-line fields correctly. Patch by Rob Biedenham.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-25 02:59:20 +00:00
nobu
89a3e2ed7a
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err):
...
return the exit status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-25 01:07:29 +00:00
nobu
fdf5a3dd8d
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): change the
...
environment of spawned process only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-25 00:58:57 +00:00
nobu
9f16d373f3
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): get rid of possible
...
deadlock.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-25 00:57:03 +00:00
akr
f5ea2822e6
refine an assertion message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24 13:38:34 +00:00
akr
90b1eb1317
add an assertion.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24 13:37:58 +00:00
akr
acb8b3f7a9
* ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): new workaround for
...
getaddrinfo problem on Mac OS X Snow Leopard. [ruby-core:29427]
patch by Wataru Kimura. [ruby-core:30842]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 12:25:07 +00:00
naruse
0de2d84af8
Clean warnings: unused variables.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 05:32:46 +00:00
nobu
d514cd3ca0
* test/ruby/test_regexp.rb (test_dup_warn): read in UTF-8
...
encoding regardless environment.
* test/ruby/envutil.rb (invoke_ruby): add encoding option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 03:44:55 +00:00
nobu
85a4f84e79
* test/optparse/test_summary.rb: fixed superclass so that it run
...
solely.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22 12:33:33 +00:00
wanabe
99299e1961
* eval_error.c (error_print): clear raised_flag while error-printing
...
to avoid hang. [ruby-core:27608]
* test/ruby/test_beginendblock.rb (test_endblock_raise): add test for
above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-21 14:43:58 +00:00
nobu
47fb01e35b
* parse.y (shadowing_lvar_gen): get rid of adding extra name for
...
shadowing local variable. [ruby-dev:41628]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-20 05:41:07 +00:00
tenderlove
b09ad2b847
* ext/psych/lib/psych/visitors/to_ruby.rb (resolve_klass): fix the
...
exception message when attempting to load an unknown class. Thanks
nobu! [ruby-dev:41399]
* test/psych/test_psych.rb: test for the exception message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-18 18:38:19 +00:00
naruse
86d72ac7cf
Revert "* parse.y (warn_unused_var): warn unused variables."
...
This reverts commit r28339 and r28340
because they prevents test-all on boron.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-17 01:04:09 +00:00
nobu
cf79bdc6d0
* parse.y (warn_unused_var): warn unused variables.
...
[ruby-dev:41620]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-16 09:20:14 +00:00
nobu
953f511bb9
* test/ruby/test_{regexp,rubyoptions}.rb: trivial change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-16 08:21:28 +00:00
mame
29b22ba2c6
* test/ruby/test_io.rb (safe_4): does not use Timeout because
...
Timeout.timeout uses Thread#kill which raises SecurityError when
$SAFE == 4. based on a patch from Tomoyuki Chikanaga.
[ruby-dev:41484]
* test/ruby/test_io.rb (test_print_separators): use pipe (test helper
method) instead of IO.pipe. [ruby-dev:41484]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 15:08:29 +00:00
naruse
77f0c30612
Refix test_regexp.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 04:48:42 +00:00
naruse
895b0d4cdb
Refix for test_dup_warn.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 01:50:48 +00:00
akr
3a4231cdf4
* test/socket/test_socket.rb (test_udp_server): rescue Errno::ENOSYS
...
for Windows.
* test/socket/test_nonblock.rb (test_sendmsg_nonblock_error): ditto.
[ruby-dev:41597] reported by Masaya Tarui.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-14 13:46:06 +00:00
seki
b54b86d898
raise DRbConnError instead of ArgumentError if too many arguments.
...
[ruby-dev:41481]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-14 08:52:30 +00:00
naruse
ca2402f5e4
retry to fix test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-13 18:53:27 +00:00
mame
d1dd727533
* test/ruby/test_rubyoptions.rb: add a simple test for __END__ and
...
DATA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-13 06:47:44 +00:00
naruse
58f779170d
try to fix test for boron.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-13 05:01:04 +00:00
naruse
78f5b54f1b
* enc/trans/utf8_mac.trans (buf_apply): fix for patterns
...
whose result is 2 bytes. [ruby-core:30751]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 17:13:54 +00:00
nobu
d65d2384a6
* test/ruby/test_module.rb (test_attr_inherited_visibility): see [ruby-core:30638].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 07:56:23 +00:00
nobu
99058e83be
* test/ruby/test_module.rb (test_uninitialized_toplevel_constant): test for [ruby-dev:40951].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 04:06:34 +00:00
nobu
c0ea75f966
* test/ruby/test_method.rb (test_public_methods_with_extended): test for [ruby-dev:41553].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 02:58:47 +00:00
tarui
e1a52d82b0
* test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):
...
fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 21:47:41 +00:00
tarui
c4f3a04cc1
* test/open-uri/test_open-uri.rb (test_progress, test_progress_chunked):
...
'size' is a accumulated transferred size in bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 21:34:44 +00:00
akr
2acc30eead
add sleep.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 16:14:15 +00:00
mame
48c5afeba0
* lib/rubygems/install_update_options.rb
...
(Gem::InstallUpdateOptions#add_install_update_options): deprecate
--test option which has not worked. [ruby-core:21714]
* test/rubygems/test_gem_command_manager.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 13:42:54 +00:00
akr
42eca4f46e
more tests
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 15:27:07 +00:00
akr
670b62a61c
make it runnable by ruby 1.8.6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 15:15:47 +00:00
akr
9c2a968855
split tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 14:54:50 +00:00
akr
094ca0281e
* time.c (rb_localtime_r2): refine localtime overflow check for
...
FreeBSD 6.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 14:10:25 +00:00
akr
ebda24ccd8
add comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 12:34:40 +00:00
akr
b06885ff4f
more tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 12:33:03 +00:00
naruse
c659f40446
Revert r28200.
...
It caused many failures on test-all and following is SEGV.
./ruby -e 'require %!#{"foo/" * 10000}foo!'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 04:31:08 +00:00
akr
77f690583b
new test file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-09 21:51:21 +00:00
nobu
b5f7766f72
* test/ruby/test_proc.rb (test_parameters): require is no longer built-in.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08 02:08:20 +00:00
nobu
2258b0c7ef
* test/rubygems/test_gem_activation.rb: typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07 21:28:54 +00:00
nobu
2b322524cd
* gem_prelude.rb: load full rubygems at LoadError for activation
...
check. [ruby-core:29486]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07 21:27:16 +00:00