aboutsummaryrefslogtreecommitdiffstats
path: root/tool/lib/minitest
Commit message (Collapse)AuthorAgeFilesLines
* tool/lib/leakchecker.rb: show the code location that allocated leaked fdYusuke Endoh2019-11-121-16/+24
| | | | | | | by using ObjectSpace.trace_object_allocations. `make test-all LEAK_CHECKER_TRACE_OBJECT_ALLOCATION=true` will print not only leaked fds but also where it was created.
* tool/lib/minitest/unit.rb: add "omit" as an alias to "skip"Yusuke Endoh2019-10-291-0/+2
| | | | | | According to rdoc, test-unit provides omit instead of skip. This is a compatibility layer to make it work with both test-unit and tool/lib/minitest.
* Aliases capture_output to capture_io for test-unit compatiblity.Hiroshi SHIBATA2019-08-081-0/+1
|
* backtrace can be nil.Koichi Sasada2019-07-311-0/+3
| | | | Surprisingly, on SystemStackError#backtrace can return nil.
* Revert "add debug code"Koichi Sasada2019-07-311-9/+0
| | | | This reverts commit e83ec207cd5fda973c41d6629d8504b515522b12.
* add debug codeKoichi Sasada2019-07-311-0/+9
|
* Move to tool/lib from test/lib.Hiroshi SHIBATA2019-07-025-0/+2505