[前][次][番号順一覧][スレッド一覧]

ruby-changes:39168

From: nobu <ko1@a...>
Date: Wed, 15 Jul 2015 12:56:45 +0900 (JST)
Subject: [ruby-changes:39168] nobu:r51249 (trunk): -test-/string: move

nobu	2015-07-15 12:56:17 +0900 (Wed, 15 Jul 2015)

  New Revision: 51249

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51249

  Log:
    -test-/string: move
    
    * ext/-test-/string/extconf.rb: move "-test-/string/string.so" to
      "-test-/string.so".

  Modified files:
    trunk/ext/-test-/string/extconf.rb
    trunk/test/-ext-/string/test_coderange.rb
    trunk/test/-ext-/string/test_cstr.rb
    trunk/test/-ext-/string/test_ellipsize.rb
    trunk/test/-ext-/string/test_enc_associate.rb
    trunk/test/-ext-/string/test_enc_str_buf_cat.rb
    trunk/test/-ext-/string/test_modify_expand.rb
    trunk/test/-ext-/string/test_nofree.rb
    trunk/test/-ext-/string/test_normalize.rb
    trunk/test/-ext-/string/test_qsort.rb
    trunk/test/-ext-/string/test_set_len.rb
Index: ext/-test-/string/extconf.rb
===================================================================
--- ext/-test-/string/extconf.rb	(revision 51248)
+++ ext/-test-/string/extconf.rb	(revision 51249)
@@ -4,4 +4,4 @@ inits = $srcs.map {|s| File.basename(s, https://github.com/ruby/ruby/blob/trunk/ext/-test-/string/extconf.rb#L4
 inits.delete("init")
 inits.map! {|s|"X(#{s})"}
 $defs << "-DTEST_INIT_FUNCS(X)=\"#{inits.join(' ')}\""
-create_makefile("-test-/string/string")
+create_makefile("-test-/string")
Index: test/-ext-/string/test_nofree.rb
===================================================================
--- test/-ext-/string/test_nofree.rb	(revision 51248)
+++ test/-ext-/string/test_nofree.rb	(revision 51249)
@@ -4,7 +4,7 @@ class Test_StringNoFree < Test::Unit::Te https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_nofree.rb#L4
   def test_no_memory_leak
     bug10942 = '[ruby-core:68436] [Bug #10942] no leak on nofree string'
     code = '.times {Bug::String.nofree << "a" * 100}'
-    assert_no_memory_leak(%w(-r-test-/string/string),
+    assert_no_memory_leak(%w(-r-test-/string),
                           "100_000#{code}",
                           "1_000_000#{code}",
                           bug10942, rss: true)
Index: test/-ext-/string/test_ellipsize.rb
===================================================================
--- test/-ext-/string/test_ellipsize.rb	(revision 51248)
+++ test/-ext-/string/test_ellipsize.rb	(revision 51249)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_ellipsize.rb#L1
 require 'test/unit'
-require "-test-/string/string"
+require "-test-/string"
 
 class Test_StringEllipsize < Test::Unit::TestCase
   def setup
Index: test/-ext-/string/test_enc_associate.rb
===================================================================
--- test/-ext-/string/test_enc_associate.rb	(revision 51248)
+++ test/-ext-/string/test_enc_associate.rb	(revision 51249)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_enc_associate.rb#L1
 require 'test/unit'
-require "-test-/string/string"
+require "-test-/string"
 
 class Test_StrEncAssociate < Test::Unit::TestCase
   def test_frozen
Index: test/-ext-/string/test_enc_str_buf_cat.rb
===================================================================
--- test/-ext-/string/test_enc_str_buf_cat.rb	(revision 51248)
+++ test/-ext-/string/test_enc_str_buf_cat.rb	(revision 51249)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_enc_str_buf_cat.rb#L1
 require 'test/unit'
-require "-test-/string/string"
+require "-test-/string"
 
 class Test_StringEncStrBufCat < Test::Unit::TestCase
   Bug6509 = '[ruby-dev:45688]'
Index: test/-ext-/string/test_normalize.rb
===================================================================
--- test/-ext-/string/test_normalize.rb	(revision 51248)
+++ test/-ext-/string/test_normalize.rb	(revision 51249)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_normalize.rb#L1
 require 'test/unit'
-require "-test-/string/string"
+require "-test-/string"
 require "tempfile"
 
 class Test_StringNormalize < Test::Unit::TestCase
@@ -102,7 +102,7 @@ class Test_StringNormalize < Test::Unit: https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_normalize.rb#L102
   end
 
   def test_invalid_sequence
-    assert_separately(%w[-r-test-/string/string], <<-'end;')
+    assert_separately(%w[-r-test-/string], <<-'end;')
       assert_equal("\u{fffd}", Bug::String.new("\xff").normalize_ospath)
     end;
   end
Index: test/-ext-/string/test_modify_expand.rb
===================================================================
--- test/-ext-/string/test_modify_expand.rb	(revision 51248)
+++ test/-ext-/string/test_modify_expand.rb	(revision 51249)
@@ -1,9 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_modify_expand.rb#L1
 require 'test/unit'
-require "-test-/string/string"
+require "-test-/string"
 
 class Test_StringModifyExpand < Test::Unit::TestCase
   def test_modify_expand_memory_leak
-    assert_no_memory_leak(["-r-test-/string/string"],
+    assert_no_memory_leak(["-r-test-/string"],
                           <<-PRE, <<-CMD, "rb_str_modify_expand()", limit: 2.5)
       s=Bug::String.new
     PRE
Index: test/-ext-/string/test_coderange.rb
===================================================================
--- test/-ext-/string/test_coderange.rb	(revision 51248)
+++ test/-ext-/string/test_coderange.rb	(revision 51249)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_coderange.rb#L1
 # coding: ascii-8bit
 require 'test/unit'
-require "-test-/string/string"
+require "-test-/string"
 require "rbconfig/sizeof"
 
 class Test_StringCoderange < Test::Unit::TestCase
Index: test/-ext-/string/test_qsort.rb
===================================================================
--- test/-ext-/string/test_qsort.rb	(revision 51248)
+++ test/-ext-/string/test_qsort.rb	(revision 51249)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_qsort.rb#L1
 require 'test/unit'
-require "-test-/string/string"
+require "-test-/string"
 
 class Test_StringQSort < Test::Unit::TestCase
   def test_qsort
Index: test/-ext-/string/test_set_len.rb
===================================================================
--- test/-ext-/string/test_set_len.rb	(revision 51248)
+++ test/-ext-/string/test_set_len.rb	(revision 51249)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_set_len.rb#L1
 require 'test/unit'
-require "-test-/string/string"
+require "-test-/string"
 
 class Test_StrSetLen < Test::Unit::TestCase
   def setup
Index: test/-ext-/string/test_cstr.rb
===================================================================
--- test/-ext-/string/test_cstr.rb	(revision 51248)
+++ test/-ext-/string/test_cstr.rb	(revision 51249)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/-ext-/string/test_cstr.rb#L1
 require 'test/unit'
-require "-test-/string/string"
+require "-test-/string"
 
 class Test_StringCStr < Test::Unit::TestCase
   Bug4319 = '[ruby-dev:43094]'

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]