envutil.rb: separate checks

* test/ruby/envutil.rb (assert_ruby_status): separate abort check and
  exit status check.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_method.rb: refine assertions

* test/ruby/test_method.rb (test_unlinked_method_entry_in_method_object_bug):
  use assert_normal_exit since subject code never exit successfully,
  but check if timed out paranoically.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
string.c: performance improvement

* string.c (rb_str_rpartition): get rid of conversion from byte offset
  to char offset and backward, for performance improvement.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Suppress warnings

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Use more general approach to get scope_id see #8159

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2013-03-26

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Use assert_separately to speed up on test-all

This creates large string and it pressure GC.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Suppress -Werror=shorten-64-to-32

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_syntax.rb: envutil

* test/ruby/test_syntax.rb (test_syntax): require envutil for
  assert_valid_syntax.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_syntax.rb: pass srcdir

* test/ruby/test_syntax.rb (test_syntax): need to pass the source
  directory, __FILE__ in assert_separately is '-' because the code is
  passed via a pipe.  and this test can't finish in 10 seconds.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c (iseq_load): get rid of SEGV.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_syntax.rb: fixed a typo introduced at r39935.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
update doc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
  SEGV by Thread.new {}.join(Float::INFINITY) on
  Debian GNU/Linux (amd64).



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/dtrace/test_*.rb: use require_relative to require local library

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/socket.c (sockaddr_len): return the shortest length for
  unknown socket address.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/minitest/test_*.rb: use require_relative to require local library

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* internal.h: Define TIMET_MAX and TIMET_MIN here.

* time.c: Remove TIMET_MAX and TIMET_MIN definitions.

* thread.c: Ditto.

* thread_pthread.c: Remove TIMET_MAX definition.

* thread_win32.c: Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/psych/test_*.rb: use require_relative to require local library

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
fix indent

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e