kosaki
8068d73cc1
* test/ruby/test_system.rb (TestSystem#test_system_at):
...
added test. [ruby-core:35218] (#4393 )
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-14 08:49:55 +00:00
kosaki
cee21ad215
* test/ruby/test_system.rb (TestSystem#test_system_at):
...
added test. [ruby-core:35218] (#4393 )
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-14 08:30:00 +00:00
usa
23301142cc
* win32/win32.c (is_internal_cmd): if the first char of prog is '@',
...
execute it via shell. [ruby-core:35218] (#4393 )
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-14 04:17:01 +00:00
usa
0755c1c8f2
* lib/test/unit.rb: revert r30863, because it causes too many noise.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-14 01:34:54 +00:00
svn
9c8770e051
* 2011-02-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13 22:35:31 +00:00
akr
bc2abdcac4
* ext/curses/curses.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13 22:35:29 +00:00
nobu
63ca916ed4
* lib/test/unit.rb (Test::Unit::RequireFiles#non_options): skip
...
test suites failed to load instead of mere messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13 10:41:59 +00:00
nobu
0224758a7a
* ChangeLog: re-edit, and fix indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13 01:13:17 +00:00
nobu
7c3a80272a
* test/openssl/test_config.rb (OpenSSL#test_freeze): fix error
...
message assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13 00:56:52 +00:00
nobu
afafb8c055
* test/io/nonblock/test_flush.rb (TestIONonblock#flush_test):
...
return true to finish the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13 00:56:48 +00:00
nobu
b16fc57852
* test/syck/test_string.rb (Syck::TestString#test_non_binary_string):
...
use assert_not instead of refute, unless required minitest
directly.
* test/test_prime.rb (TestPrime::sieve.Integer): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13 00:56:44 +00:00
nobu
c84e529219
* test/xmlrpc/webrick_testing.rb (WEBrick_Testing#start_server):
...
catch IOError when server socket was closed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13 00:56:40 +00:00
matz
00e84afa33
* enum.c (enum_inject): typo fixed. a patch from Gaku Ueda in
...
[ruby-core:35216].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 22:41:02 +00:00
tadf
ce430673be
* lib/date.rb (Date#===): [ruby-core:35127]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 15:51:31 +00:00
svn
2eb7b57164
* 2011-02-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 15:29:25 +00:00
nobu
420d98e4a8
* lib/test/unit.rb (Test::Unit::Options#process_args): always
...
return options.
* lib/test/unit.rb (Test::Unit::RequireFiles#non_options): return
if any test case get loaded.
* lib/test/unit.rb (Test::Unit::AutoRunner#initialize): do not add
default directory if it is nil.
* lib/test/unit.rb (Test::Unit::AutoRunner#process_args): return
true if any test cases to run.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 15:29:24 +00:00
nobu
7f46fadd9d
* lib/test/unit.rb (assert_include): add alias.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 14:17:54 +00:00
nobu
58b325366d
* thread.c (rb_thread_io_blocking_region): new function to run
...
blocking region with GIL released, for fd.
* thread.c (rb_thread_fd_close): implement. [ruby-core:35203]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 05:44:23 +00:00
nobu
dda8de065c
* vm.c (th_init): rename from th_init2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 05:42:17 +00:00
nobu
aca69e1fdc
* lib/test/unit.rb (Test::Unit::AutoRunner#initialize): use
...
default_dir if no test case given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 05:41:38 +00:00
nobu
4e3df72f0d
* lib/test/unit.rb (Test::Unit::Runner): rename from Test::Unit::Mini.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 05:41:02 +00:00
nobu
58ed5a45ff
* lib/test/unit.rb (Test::Unit::GlobOption#non_options): run tests
...
under base directory if no argument given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 00:30:13 +00:00
nobu
7dea05dc6f
* test/ruby/test_settracefunc.rb (TestSetTraceFunc): ensure to use
...
method_added hook defined in Module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 23:03:21 +00:00
nobu
68ef047b8f
* ruby.c (proc_options): enable rubygems if --gem option is given.
...
* ruby.c (process_options): load rubygems if it is disabled but
--gem option is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 16:04:08 +00:00
svn
3be7ed03cd
* 2011-02-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 15:03:52 +00:00
yugui
f17b469860
* ruby.c (proc_options): add --gem=enabled as an alias of
...
--enable=gems and --gem=disabled as an alias of --disable=gems.
Gem named "enabled" or "disabled" has already been reserved
legitimately for this purpose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 15:03:51 +00:00
akr
698960439d
* ext/dl/cfunc.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 14:17:24 +00:00
nobu
c750f945c6
* test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_scan):
...
assert_raise does not check exception message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 12:54:04 +00:00
nobu
9c560af1b7
* bin/testrb, test/runner.rb, lib/test/unit.rb: improve backward
...
compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 12:41:58 +00:00
nobu
96c078c340
* eval.c (ruby_cleanup): use rb_ary_free to free internal object.
...
* gc.h (RUBY_FREE_UNLESS_NULL): get rid of double free.
[ruby-core:35192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 10:45:34 +00:00
nobu
18364f541b
* test/ruby/test_transcode.rb (test_from_cp50221): fix wrong
...
assertion and move back.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 07:57:05 +00:00
nobu
180bf48fea
* lib/test/unit/assertions.rb (assert_no_match): alias for
...
backward compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 05:33:21 +00:00
nobu
12000bc2de
* test/ruby: uniquify test names.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 05:29:42 +00:00
nobu
4ed23fe8c5
* ruby.c (add_gems, require_libraries, proc_options): add
...
--require and --gem options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 03:06:50 +00:00
nobu
020dc4ba60
* configure.in (rubygems): add --disable-rubygems option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 03:03:26 +00:00
nobu
c7f86bb5f6
* template/fake.rb.in (CROSS_COMPILING): get rid of NameError.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 02:39:05 +00:00
svn
1e96a30c9d
* 2011-02-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-10 14:12:59 +00:00
akr
ac2c1a2968
* ext/dl/dl.h: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-10 14:12:57 +00:00
akr
2cc0240078
* ext/pty/pty.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-09 14:12:02 +00:00
kosaki
e0258fa04b
* array.c: documentation clarification in rotate, rotate!,
...
index, and rindex. [ruby-core:35144]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-09 03:12:59 +00:00
usa
acda9a6872
* test/rdoc/test_rdoc_encoding.rb: remove unnecessary (and wrong)
...
platform-dependent hacks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-09 00:47:42 +00:00
kazu
cf67952602
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 23:33:43 +00:00
svn
1e4bc19a91
* 2011-02-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 15:47:53 +00:00
akr
08a4d1af3f
* ext/etc/etc.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 15:47:52 +00:00
nobu
787686ffa7
* misc/ruby-mode.el (ruby-expr-beg): fix for invalid nest errors.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 10:38:01 +00:00
kosaki
0042bbc1c1
* configure.in (AC_MSG_CHECKING): fixed typo. the patch is
...
created by Benoit Daloze. Thanks a lot. [Bug #4384 ][ruby-core:35148]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 10:26:42 +00:00
kosaki
0559227e87
* io.c (rb_io_s_sysopen): use NUM2MODET() instead NUM2UINT().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 07:04:45 +00:00
kosaki
411e4a6cf2
* process.c (rb_run_exec_options_err): use MODET2NUM() instead LONG2NUM().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 07:01:23 +00:00
kosaki
a9c7af3b6e
* configure.in: revert r30725. Now we have proper runtime fallback.
...
Therefore, no need compile time disabling. (see r30762).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-08 05:03:07 +00:00
nagachika
012e60f61c
* process.c (proc_setgroups): add GC guard to prevent intermediate
...
variable from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 16:01:57 +00:00