diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-06-24 07:44:04 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-06-29 14:22:46 +0200 |
commit | 370e7d2b7dad956421a288c94c874501984f3bc4 (patch) | |
tree | 7094cc97247adf6bfb0cd69a61d6e82a4043de67 /meta-ruby/recipes-devtools/ruby/ruby/ruby-1.9.3-bignum-test-fix.patch | |
parent | 41e0bcf188c457548a37e32fe291a848d8e10005 (diff) | |
download | meta-openembedded-contrib-370e7d2b7dad956421a288c94c874501984f3bc4.tar.gz |
ruby: Upgrade from 1.9.3-p194 -> 1.9.3-p429
Old recipe was having do_install failures
this fixes those too
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-ruby/recipes-devtools/ruby/ruby/ruby-1.9.3-bignum-test-fix.patch')
-rw-r--r-- | meta-ruby/recipes-devtools/ruby/ruby/ruby-1.9.3-bignum-test-fix.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta-ruby/recipes-devtools/ruby/ruby/ruby-1.9.3-bignum-test-fix.patch b/meta-ruby/recipes-devtools/ruby/ruby/ruby-1.9.3-bignum-test-fix.patch deleted file mode 100644 index cb3682d5e9..0000000000 --- a/meta-ruby/recipes-devtools/ruby/ruby/ruby-1.9.3-bignum-test-fix.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- ruby-1.9.3-p0/test/ruby/test_bignum.rb.orig 2011-11-10 09:52:59.101925465 +0100 -+++ ruby-1.9.3-p0/test/ruby/test_bignum.rb 2011-11-10 09:54:14.580798826 +0100 -@@ -378,7 +378,7 @@ - assert_equal(true, (2**32).even?) - end - -- def interrupt -+ def assert_interrupt - time = Time.now - start_flag = false - end_flag = false -@@ -387,14 +387,16 @@ - yield - end_flag = true - end -- sleep 1 -+ Thread.pass until start_flag - thread.raise - thread.join rescue nil -- start_flag && !end_flag && Time.now - time < 10 -+ time = Time.now - time -+ assert_equal([true, false], [start_flag, end_flag]) -+ assert_operator(time, :<, 10) - end - - def test_interrupt -- assert(interrupt { (65536 ** 65536).to_s }) -+ assert_interrupt {(65536 ** 65536).to_s} - end - - def test_too_big_to_s |