summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2013-03-26* test/psych/test_*.rb: use require_relative to require local libraryxibbar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26* test/minitest/test_*.rb: use require_relative to require local libraryxibbar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26* test/dtrace/test_*.rb: use require_relative to require local libraryxibbar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26* test/ruby/test_syntax.rb: fixed a typo introduced at r39935.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-26test_syntax.rb: pass srcdirnobu
* 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
2013-03-26test_syntax.rb: envutilnobu
* 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
2013-03-26Use assert_separately to speed up on test-allnaruse
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
2013-03-25Use more general approach to get scope_id see #8159naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-25Suppress warningsnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-25test_method.rb: refine assertionsnobu
* 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
2013-03-25envutil.rb: separate checksnobu
* 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
2013-03-25* test/ruby/test_method.rb (test_unlinked_method_entry_in_method_object_bug):nobu
move from KNOWNBUGS.rb. [Bug #8100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-25envutil.rb: signal in Process::Statusnobu
* test/ruby/envutil.rb (assert_ruby_status): show status info. * test/ruby/envutil.rb (Test::Unit::Assertions::FailDesc): use Signal.signame for consistency with Process::Status#inspect. * signal.c (siglist): prefer SIGABRT over SIGIOT in Signal.signame. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* test/rinda/test_rinda.rb: Skip IPv6 tests if no IPv6 addressesdrbrain
exist. Skip fork-dependent test if fork is not available. [ruby-trunk - Bug #8159] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24Try interface indexes which can use for IPv6 multicastnaruse
a fix for r39896 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* test/ruby/envutil.rb (assert_ruby_status): include stderr output.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24Fix String#rpartition(/re/) against a multibyte string.knu
* string.c (rb_str_rpartition): Fix String#rpartition(/re/) against a multibyte string. [Bug #8138] [ruby-dev:47183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* test/ruby/test_require.rb: Remove temporally files in the tests.akr
* test/ruby/test_rubyoptions.rb: Ditto. * test/logger/test_logger.rb: Ditto. * test/psych/test_psych.rb: Ditto. * test/readline/test_readline.rb: Ditto. * test/syslog/test_syslog_logger.rb: Ditto. * test/webrick/test_httpauth.rb: Ditto. * test/zlib/test_zlib.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* test/rinda/test_rinda.rb: Restore tests commented out while fixingdrbrain
test slowdown bug before r39895. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 * lib/rinda/ring.rb: Add multicast support to Rinda::RingFinger anddrbrain
Rinda::RingServer. [ruby-trunk - Bug #8073] * test/rinda/test_rinda.rb: Test for the above. * NEWS: Update with Rinda multicast support git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* test/rinda/test_rinda.rb: Fixed test failures in r39890 and r39890drbrain
due to stopping DRb service. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23Commit missdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* test/mkmf/test_have_macro.rb: remove temporally files in the tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23Suppress warning: OpenSSL::X509::StoreContext#cleanup is deprecated with no ↵naruse
replacement git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-22* test_enum.rb: Make test more precisemarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-22* test_array.rb: Make test more precisemarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-22* array.c: Avoid zip bug by not using obsolete rb_check_block_call [Bug #8153]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-21* test/ruby/envutil.rb (assert_warning): show diff.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-21parse.y: refine warning messagenobu
* parse.y (ambiguous_operator): refine warning message, since this warning is shown after literal too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-21vm_insnhelper.c: check required kwarg with resthashnobu
* vm_insnhelper.c (vm_callee_setup_keyword_arg): should check required keyword arguments even if rest hash is defined. [ruby-core:53608] [Bug #8139] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-21Retry ps if it doesn't do setproctitlenaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-21thread.c: fix deadlocknobu
* thread.c (ruby_kill): get rid of deadlock on signal 0. [ruby-dev:47182] [Bug #8137] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-21parse.y: escape all closing parensnobu
* parse.y (simple_re_meta): escape all closing characters, not only round parenthesis. [ruby-core:53578] [Bug #8133] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-20* test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup):usa
allow using different drive for source and build directories. this may fixes a minor problem of r39834. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-20* test/ruby/test_signal.rb (test_hup_me): skip if HUP isn't supported.shirosaki
On Windows this test causes ArgumentError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-20* test/rubygems/test_gem_installer.rb (test_install_extension_flat):shirosaki
use ruby in build directory in case ruby is not installed. [ruby-core:53265] [Bug #8058] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-20* test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup): useusa
relative path to get rid of "too long commandline" error. * ChangeLog: fixed wrong description. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-20* test/win32ole/test_err_in_callback.rb: revert r39823 (debug code).usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-19* test/rinda/test_rinda.rb: remove unused variables.ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-19* test/ruby/test_signal.rb (test_hup_me): added a few comments.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-19* test/win32ole/test_err_in_callback.rb: debug print. I'll remove this later.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-19compose HFS file namesnobu
* dir.c (glob_helper): compose HFS file names from UTF8-MAC. [ruby-core:48745] [Bug #7267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-19* internal.h: added a declaration of ruby_kill().kosaki
* thread.c (ruby_kill): helper function of kill(). * signal.c (rb_f_kill): use ruby_kill() instead of kill(). * signal.c (rb_f_kill): call rb_thread_execute_interrupts() to ensure that make SignalException if sent a signal to myself. [Bug #7951] [ruby-core:52864] * vm_core.h (typedef struct rb_thread_struct): added th->interrupt_cond. * thread.c (rb_threadptr_interrupt_common): added to initialization of th->interrupt_cond. * thread.c (thread_create_core): ditto. * test/ruby/test_signal.rb (TestSignal#test_hup_me): test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-18* gc.c: Improve accuracy of objspace_live_num() andnari
allocated/freed counters. patched by tmm1(Aman Gupta). [Bug #8092] [ruby-core:53392] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-18* gc.c: Avoid unnecessary heap growth. patched by tmm1(Aman Gupta).nari
[Bug #8093] [ruby-core:53393] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-18* test/win32ole/test_err_in_callback.rbusa
(TestErrInCallBack#test_err_in_callback): shouldn't create a file in source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-16test_bignum.rb: refine testnobu
* test/ruby/test_bignum.rb (test_interrupt_during_to_s): rename and merge with assert_interrupt, separate Bignum power from to_s, get rid of busy loop, and skip if the conversion is too fast. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-16* thread.c: disabled _FORTIFY_SOURCE for avoid to hit glibc bug.kosaki
[Bug #8080] [ruby-core:53349] * test/ruby/test_io.rb (TestIO#test_io_select_with_many_files): test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15r39766 denied to initialized already initialized time objectnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-15time.c: check re-initializenobu
* time.c (GetTimeval): check if already initialized instance. * time.c (GetNewTimeval): check if newly created instance. * time.c (time_init_0, time_init_1, time_init_copy, time_mload): must be newly created instance. [ruby-core:53436] [Bug #8099] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e