Граф коммитов

279 Коммитов

Автор SHA1 Сообщение Дата
usa f73aefc627 * test/lib/envutil.rb (EnvUtil.invoke_ruby): need to rescue because
Signal.signame may raise exception.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 13:26:40 +00:00
nobu f73a92e46b envutil.rb: improve by assert_pattern_list
* test/lib/envutil.rb (assert_in_out_err): improve to match by
  assert_pattern_list if expected result is other than Regexp or
  String list.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 08:19:39 +00:00
nobu 89333366a0 envutil.rb: fix typo
* test/lib/envutil.rb (invoke_ruby): fix typo again.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-02 07:54:30 +00:00
nobu 4a0e9c5cce envutil.rb: fix const name
* test/lib/envutil.rb (invoke_ruby): fix an exception class name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-02 07:20:13 +00:00
nobu 7be21a316f envutil.rb: timeout_error argument to invoke_ruby
* test/lib/envutil.rb (invoke_ruby): add `timeout_error` optional
  keyword argument, the exception class to be raised if the target
  process timed out.  if it is nil, no exception will be raised at
  timeout but the terminated output, error, and status will be
  returned.  defaulted to Timeout::Error.

* test/lib/envutil.rb (assert_separately): check outputs and
  status (including diagnostic reports) of timed-out process.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-02 06:44:34 +00:00
nobu 876d664069 envutil.rb: signal list to invoke_ruby
* test/lib/envutil.rb (invoke_ruby): allow `signal` optional
  keyword argument to be a list of signals to be sent to the
  target process.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-02 06:44:22 +00:00
nobu e961fcd528 envutil.rb: signal argument
* test/lib/envutil.rb (invoke_ruby): add optional keyword argument
  of signal to be sent to hung-up process.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-01 11:21:40 +00:00
nobu bfd1fbf098 test/unit.rb: regexps to exclude
* test/lib/test/unit.rb (ExcludedMethods#exclude_from): allow
  regexps for methods to be excluded.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-09 01:28:20 +00:00
nobu 7dddd592d1 test/unit.rb: --excludes-dir list
* test/lib/test/unit.rb (ExcludesOption): allow directory list by
  PATH_SEPARATOR to --excludes-dir option.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-10 12:24:19 +00:00
nobu 1b7efc132a test/unit.rb: ExcludesOption
* test/lib/test/unit.rb (ExcludesOption): add "excludes" support
  to test suite, for alternative implementations and platforms.
  [Feature #10682]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-04 13:33:35 +00:00
nobu 54bfb33366 test/unit.rb: reorder Test::Unit
* test/lib/test/unit.rb (Test::Unit): reorder modules and merge
  each modules.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-04 13:32:44 +00:00
nobu 42bb2c712e test/unit.rb: split Test::Unit
* test/lib/test/unit.rb (Test::Unit): split the large class into
  each modules.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-04 13:32:11 +00:00
nobu b9c630f999 parallel.rb: expand path
* test/lib/test/unit/parallel.rb (run): expand the file name to be
  loaded, so that relative paths work in parallel mode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-04 05:02:40 +00:00
nobu cf0006ea2b testcase.rb: call super
* test/lib/test/unit/testcase.rb (method_added): hook methods
  should call super.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-04 02:15:03 +00:00
nobu 49243b9944 unit.rb: no insult method
* test/lib/minitest/unit.rb (i_suck_and_my_tests_are_order_dependent!):
  remove.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-04 02:04:31 +00:00
nobu 8a57298c09 unit.rb: no UNDEFINED
* test/lib/minitest/unit.rb (UNDEFINED): remove.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-04 02:04:26 +00:00
akr ce80a49f38 Refine help message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-03 02:52:01 +00:00
nobu 8d0d7da44e tracepointchecker.rb: for older TracePoint
* test/lib/tracepointchecker.rb (TracePointChecker): needs recent
  version of TracePoint, so that older versions can run to compare
  the resuls.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-02 19:03:23 +00:00
nobu 4ef6097f9a leakchecker.rb: for older IO.console
* 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
2015-01-02 19:03:17 +00:00
nobu 6d65806f8b tracepointchecker.rb: needs TracePoint
* test/lib/tracepointchecker.rb: available only if TracePoint is
  available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-02 02:37:47 +00:00
nobu 945e4692ca console.c: IO.console arguments passing
* 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
2014-12-25 07:14:12 +00:00
headius 0a52821396 * test/lib/test/unit.rb: Also rescue EINVAL for older Linux that
raises it in popen. [Bug #10494]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 22:33:44 +00:00
nobu a88e787277 envutil.rb: kill pgroup
* test/lib/envutil.rb (invoke_ruby): kill whole group when :pgroup
  option is set.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-11 13:54:02 +00:00
nobu 97cfffcdc6 envutil.rb: skip if load failed
* test/lib/envutil.rb (assert_no_memory_leak): skip when failed to
  load fiddle.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-27 03:42:32 +00:00
drbrain 3908d5d330 * lib/rake: Update to rake 10.4.0
* test/rake:  ditto.
* NEWS:  ditto.

* test/lib/minitest/unit.rb:  Add compatibility shim for minitest 5.
  This only provides minitest 5 unit test naming compatibility.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 07:03:36 +00:00
nobu 558b9191c0 vm_eval.c: UncaughtThrowError
* vm_eval.c (rb_throw_obj): throw UncaughtThrowError instead of
  ArgumentError.  [Feature #10480]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-15 07:28:08 +00:00
akr fb2008a73a * test/lib/envutil.rb: Moved from test/ruby/.
* test/lib/find_executable.rb: Ditto.

* test/lib/memory_status.rb: Ditto.

* test/lib/test/unit.rb: require envutil.

* test/: Don't require envutil in test files.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-13 16:05:37 +00:00
nobu 72ce1a4759 test_exception.rb: more tests
* test/ruby/test_exception.rb: more tests for catch and throw.
  catch but no throw, autogenerated tag, and uncaught throw.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-07 12:08:24 +00:00
akr 3ec72f078c * test/openssl/utils.rb (start_server): Don't close sockets before
threads finished.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-01 14:12:11 +00:00
akr 178bc9a0e7 * test/lib/test/unit.rb: Hide skips by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-12 00:24:40 +00:00
akr d03315d84a * configure.in (dirfd): Check function.
* 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
2014-09-04 15:54:04 +00:00
nobu 3b26b3898e leakchecker.rb: temporary measure againt WEBrick
* 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
2014-07-25 06:53:27 +00:00
nobu 14cea0d712 test/unit.rb: temporary measure againt minitest
* test/lib/test/unit.rb (deal): temporary measure for mixing
  output from the tests of minitest in parallel test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-25 06:53:16 +00:00
nobu 98a2dfe7f6 minitest/unit.rb: flush messages
* test/lib/minitest/unit.rb (MiniTest::Unit#_run_suite): flush
  messages after each tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-23 06:23:05 +00:00
nobu 535ee0197f test/unit.rb: newline after message
* test/lib/test/unit.rb (deal): print a newline after an error
  message for unknown command not to overwritten by next messages.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-04 08:00:41 +00:00
nobu 02ddcb4b66 leakchecker.rb: MiniTest::Unit.output
* 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
2014-07-02 07:59:20 +00:00
naruse ab606d8f11 exception must make process stop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-01 00:40:34 +00:00
naruse 7973ff4fe6 show if parallel test-all fails to Marshal.load
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 19:28:58 +00:00
naruse b105cbc809 suppress warnings: assigned but unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-30 10:11:02 +00:00
akr 7361eb9462 inspect IO objects before closed IO object test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 12:51:48 +00:00
akr 1c58954cec Suppress double dots.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-28 06:08:24 +00:00
nobu 9a4f9f3424 reapply r46568 "assertions.rb: refine message"
`exception` is an expected exception class, not the raised instance,
so the result message cannot have any backtraces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 15:44:20 +00:00
naruse aac7837c76 Revert r46568 "assertions.rb: refine message"
Don't inspect exceptions without backtrace omission for SystemStackError.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 06:28:18 +00:00
nobu 545165770b assertions.rb: refine message
* test/lib/test/unit/assertions.rb (assert_raise_with_message):
  refine default message for the exception to be raised.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 18:25:13 +00:00
hsbt 767358108e * test/with_different_ofs.rb: move into test library directory.
* test/csv/base.rb: fix require path for with_different_ofs.rb.
* test/digest/test_digest_extend.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 09:27:22 +00:00
hsbt 4af87bd672 * test/profile_test_all.rb: move into test library directory.
* test/runner.rb: fix require path for profile_test_all.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 09:16:56 +00:00
ko1 2aa6f9c2b7 * test/lib/tracepointchecker.rb: add to check TracePoint healthiness.
* test/runner.rb: use it.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-20 08:22:09 +00:00
akr 6c6f9b19b4 * test/lib/leakchecker.rb: Leak checker extracted from
test/lib/minitest/unit.rb.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 13:31:32 +00:00
naruse 8784787623 don't remove test results
r46180 removed dots but they express the result of tests: don't remove them.
Moreover I don't understand why `read` is still used.

http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140530T200301Z.fail.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 13:30:48 +00:00
akr 40ec552861 * test/lib/minitest/unit.rb: Check Tempfile leaks for each test method
again.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 23:32:19 +00:00
akr 283e5d5aab * test/lib/minitest/unit.rb (check_fd_leak): Sort the inspected
objects list for a FD.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 12:01:09 +00:00
akr e03e2b95a0 * test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leaked
FDs.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 09:08:23 +00:00
naruse d4101d636f force_encoding to get the log of failure by Encoding::CompatibilityError
https://travis-ci.org/ruby/ruby/jobs/26361118

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 08:52:58 +00:00
nobu bb1fb1167e minitest/unit.rb: defer requiring -test-
* test/lib/minitest/unit.rb (find_fds): defer requiring a library
  under "-test-" until needed, or can't work in other (installed)
  ruby.  grep doesn't need separated map.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 06:27:23 +00:00
naruse 0dea3e1a43 * test/lib/test/unit/parallel.rb (_run_suite): orig_stdout may be nil
though I don't know the reason.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 03:06:47 +00:00
akr 83ead3c4a7 * ext/-test-/dir: Dir#fileno implemented.
* test/lib/minitest/unit.rb (find_fds): Don't return the fd used to
  scan /proc/$$/fd.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-29 22:28:47 +00:00
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