aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib/leakchecker.rb
Commit message (Collapse)AuthorAgeFilesLines
* leakchecker.rb: remove temporary measurenobu2016-01-051-1/+1
| | | | | | | | | | | | | * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#watcher): make watcher thread restartable. * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#terminate): new method to terminate watcher thread. * test/lib/leakchecker.rb (LeakChecker#find_threads): revert r46941. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* leakchecker.rb: close consolenobu2015-07-081-3/+3
| | | | | | | * test/lib/leakchecker.rb (LeakChecker#find_fds): close console before find open FDs for each time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/leakchecker.rb (check): refactor.eregon2015-06-131-5/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/leakchecker.rb: Return false for no leaks.eregon2015-06-131-1/+1
| | | | | | Otherwise the GC could run for nothing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/leakchecker.rb: Check environment variables.akr2015-03-121-1/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* leakchecker.rb: for older IO.consolenobu2015-01-021-2/+2
| | | | | | | | * test/lib/leakchecker.rb (check_fd_leak): do not call older version IO.console to get rid of ArgumentError, so that older versions can run to compare the resuls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* console.c: IO.console arguments passingnobu2014-12-251-0/+3
| | | | | | | | | | * ext/io/console/console.c (console_dev): send the given arguments to the opened console. as a special case, do nothing if :close is given. * test/lib/leakchecker.rb (LeakChecker#check_fd_leak): close if console. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/utils.rb (start_server): Don't close sockets beforeakr2014-11-011-0/+1
| | | | | | | | threads finished. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (dirfd): Check function.akr2014-09-041-1/+0
| | | | | | | | | * dir.c (dir_fileno): New method. [ruby-dev:48265] [Feature #9880] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* leakchecker.rb: temporary measure againt WEBricknobu2014-07-251-1/+1
| | | | | | | * test/lib/leakchecker.rb (LeakChecker#find_threads): temporary measure for unrestartable WEBrick::Utils::TimeoutHandler::Thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* leakchecker.rb: MiniTest::Unit.outputnobu2014-07-021-0/+4
| | | | | | | | * test/lib/leakchecker.rb (LeakChecker#puts): send output to MiniTest::Unit.output, not to be mixed with parallel test commands. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* inspect IO objects before closed IO object test.akr2014-06-281-5/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/lib/leakchecker.rb: Leak checker extracted fromakr2014-05-311-0/+159
test/lib/minitest/unit.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e