akr
b519ce9a8a
* test/lib/minitest/unit.rb (capture_subprocess_io): Close fds.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-29 13:26:02 +00:00
akr
9b612d382d
* test/lib/minitest/unit.rb: Use Tempfile#close! instead of
...
Tempfile#unlink to close file descriptors.
* test/openssl/test_config.rb: Ditto.
* test/ruby/test_io.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27 15:49:13 +00:00
nobu
9ee98ff798
parallel.rb: do not split messages
...
* test/lib/test/unit/parallel.rb (Test::Unit::Worker#_run_suite):
get rid of splitting leak checking messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27 14:43:15 +00:00
akr
1c35277c2b
* io.c (rb_io_autoclose_p): Don't raise on frozen IO.
...
* test/lib/minitest/unit.rb: IO#autoclose? may raise IOError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27 10:09:55 +00:00
akr
dbd239a7aa
* test/lib/minitest/unit.rb: Show leaked file descriptors.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27 03:24:52 +00:00
nobu
42c7b5f09b
test/unit.rb: reduce error messages
...
* test/lib/test/unit.rb (non_options): reduce same error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-26 14:36:40 +00:00
nobu
fd372dc8a2
minitest/unit.rb: fix leaking tempfile
...
* test/lib/minitest/unit.rb (capture_subprocess_io): opened files
can not be unlinked on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-26 03:42:27 +00:00
akr
1902f5fa25
* test/lib/minitest/unit.rb: Show Finished threads line-by-line.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 23:00:04 +00:00
akr
c8660d8966
Show leaked threads line-by-line.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 16:16:38 +00:00
akr
b5d3b55bb7
* test/lib/minitest/unit.rb: Show leaked tempfiles line-by-line.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 16:03:23 +00:00
akr
8559c4c125
* test/lib/minitest/unit.rb (MiniTest::Assertions#diff): Remove
...
tempfiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 14:16:02 +00:00
akr
6f2b1d6e82
* test/lib/minitest/unit.rb: Check tempfile leak for each test class.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 13:44:05 +00:00
akr
540ffb3abd
* test/lib/minitest/unit.rb: Less ObjectSpace.each_object(Tempfile)
...
invocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 08:15:08 +00:00
akr
70c15b19fa
* test/lib/minitest/unit.rb: Use Thread.list instead of
...
ObjectSpace.each_object(Thread).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 07:58:02 +00:00
akr
36c9605a6e
* test/lib/minitest/unit.rb: Sort leaked threads and tempfiles.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 03:34:27 +00:00
akr
0be4ec01cd
* test/lib/minitest/unit.rb: Show leakes threads and tempfiles.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 00:41:18 +00:00
hsbt
ff9c54a32d
* test/lib/minitest/.document: removed unused configuration. [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 13:29:40 +00:00
akr
1e2374f1e9
* test/lib/minitest/spec.rb: Unused file removed.
...
* test/lib/minitest/autorun.rb: Don't require minitest/spec.
* test/lib/minitest/benchmark.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 10:20:41 +00:00
akr
36f3ee6dc8
* test/lib/minitest/unit.rb (parallelize_me!): Removed.
...
This fixes the line-by-line structure of the test result in verbose
mode. [ruby-core:54905]
* test/lib/minitest/parallel_each.rb: Removed.
* test/minitest/test_minitest_mock.rb: Don't call parallelize_me!.
* test/minitest/test_minitest_spec.rb: Ditto.
* test/minitest/test_minitest_unit.rb: Ditto.
Tests for parallel feature removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 07:09:29 +00:00
akr
e30e8702a3
* test/lib/minitest/hell.rb: Unused file removed.
...
* test/lib/minitest/pride.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 06:29:23 +00:00
akr
bdf98fc627
* test/lib/minitest: Remove comments not appropriate now.
...
* test/minitest: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 06:01:51 +00:00
hsbt
35a8580c56
* test/lib/test/unit/test-unit.gemspec: removed needless gemspec file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-24 05:04:08 +00:00
hsbt
f8c6a5dc02
* test/runner.rb: remove dependency test-unit and minitest
...
from stdlib when running with test-all.
[Feature #9711 ][ruby-core:61890]
* test/testunit/*.rb: ditto.
* test/lib: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17 06:26:51 +00:00