<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/tool/lib/test/unit, branch ruby_2_7</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Added assert_linear_performance for URI tests</title>
<updated>2023-03-29T01:17:23+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2023-03-28T09:00:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6fa7e5e05b5f62cd97af0f35627377c053d552af'/>
<id>6fa7e5e05b5f62cd97af0f35627377c053d552af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>support gc_compact_checker on parallel test.</title>
<updated>2019-12-11T19:27:06+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2019-12-11T19:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=27ac034f196967f54edf00474880886624d30245'/>
<id>27ac034f196967f54edf00474880886624d30245</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tool/lib/test/unit/parallel.rb: fail explicitly when failing to get io</title>
<updated>2019-12-03T08:26:12+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2019-12-03T08:05:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=409e4ab740de3852c3667217bcf41b55040f638f'/>
<id>409e4ab740de3852c3667217bcf41b55040f638f</id>
<content type='text'>
`(ulimit -n 30; make test-tool)` fails with unexplicit message:
"undefined method `write' for nil:NilClass" due to lack of stdout.

This change makes it explicit.  [Bug #5577]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`(ulimit -n 30; make test-tool)` fails with unexplicit message:
"undefined method `write' for nil:NilClass" due to lack of stdout.

This change makes it explicit.  [Bug #5577]
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fileutils] Fix test failure under ruby 2.4</title>
<updated>2019-11-30T23:23:05+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2019-11-30T13:03:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a2fc6a51dd2e1a153559038795e1e2509f9c6a94'/>
<id>a2fc6a51dd2e1a153559038795e1e2509f9c6a94</id>
<content type='text'>
`Exception#full_message` is only defined on ruby 2.5.0 and above.

https://github.com/ruby/fileutils/commit/a8968f41ed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`Exception#full_message` is only defined on ruby 2.5.0 and above.

https://github.com/ruby/fileutils/commit/a8968f41ed
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fileutils] Fix error printing test failure</title>
<updated>2019-11-30T23:22:37+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2019-11-30T13:01:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fa0f3eff228bb26de6d5b0e1238b1f358165dbd0'/>
<id>fa0f3eff228bb26de6d5b0e1238b1f358165dbd0</id>
<content type='text'>
`exception_details` is not defined anywhere.

This commit fixes the following test crash in ruby 2.4

```
Error: test_assert_output_lines(TestFileUtils): NoMethodError: undefined method `exception_details' for #&lt;TestFileUtils:0x00005556ef699178&gt;
```

And replaces it with an actual test failure:

```
[Test::Unit::CoreAssertions::MiniTest::Assertion] exception expected, not #&lt;NoMethodError: undefined method `full_message' for #&lt;RuntimeError: ok&gt;
Did you mean?  message&gt;.
```

https://github.com/ruby/fileutils/commit/2f38ba6e82
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`exception_details` is not defined anywhere.

This commit fixes the following test crash in ruby 2.4

```
Error: test_assert_output_lines(TestFileUtils): NoMethodError: undefined method `exception_details' for #&lt;TestFileUtils:0x00005556ef699178&gt;
```

And replaces it with an actual test failure:

```
[Test::Unit::CoreAssertions::MiniTest::Assertion] exception expected, not #&lt;NoMethodError: undefined method `full_message' for #&lt;RuntimeError: ok&gt;
Did you mean?  message&gt;.
```

https://github.com/ruby/fileutils/commit/2f38ba6e82
</pre>
</div>
</content>
</entry>
<entry>
<title>Add debug print</title>
<updated>2019-11-09T06:20:52+00:00</updated>
<author>
<name>Kazuhiro NISHIYAMA</name>
<email>zn@mbf.nifty.com</email>
</author>
<published>2019-11-09T06:20:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=50bc7e7e9f0da6b27db06ac063257de0b97ed9b3'/>
<id>50bc7e7e9f0da6b27db06ac063257de0b97ed9b3</id>
<content type='text'>
http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2380788
```
test_all             #&lt;Thread:0x000055b6c8e9fca8@/tmp/ruby/v2/src/trunk-mjit/tool/lib/test/unit/parallel.rb:42 run&gt; terminated with exception (report_on_exception is true):
&lt;internal:pack&gt;:134:in `pack': no implicit conversion of false into String (TypeError)
	from /tmp/ruby/v2/src/trunk-mjit/tool/lib/test/unit/parallel.rb:160:in `_report'
	from /tmp/ruby/v2/src/trunk-mjit/tool/lib/test/unit/parallel.rb:45:in `block in _run_suite'
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2380788
```
test_all             #&lt;Thread:0x000055b6c8e9fca8@/tmp/ruby/v2/src/trunk-mjit/tool/lib/test/unit/parallel.rb:42 run&gt; terminated with exception (report_on_exception is true):
&lt;internal:pack&gt;:134:in `pack': no implicit conversion of false into String (TypeError)
	from /tmp/ruby/v2/src/trunk-mjit/tool/lib/test/unit/parallel.rb:160:in `_report'
	from /tmp/ruby/v2/src/trunk-mjit/tool/lib/test/unit/parallel.rb:45:in `block in _run_suite'
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Try to run assert_output_unchanged with racc tests</title>
<updated>2019-10-30T23:39:48+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2019-10-30T12:38:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1c03026ea3cd90cbc37eb4c612aca3c6129032c8'/>
<id>1c03026ea3cd90cbc37eb4c612aca3c6129032c8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch syntax error even if fatal</title>
<updated>2019-10-22T17:05:28+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-10-22T17:05:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=601f1fb456c291b5eb4d20e97d8b151bb04ffda2'/>
<id>601f1fb456c291b5eb4d20e97d8b151bb04ffda2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "alias assert_raise_message for compatibility with test-unit"</title>
<updated>2019-10-16T12:00:36+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-10-16T12:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f8fb51c976313b8053412c80f3f7474cdd89b4b3'/>
<id>f8fb51c976313b8053412c80f3f7474cdd89b4b3</id>
<content type='text'>
This reverts commit 43015275b9a7f2833c93ad11ea96ae4cb3b7acd7.

`assert_raise_message` in test-unit is different from
`assert_raise_with_message`.  It checks the exception message
only, but not the exception class,
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 43015275b9a7f2833c93ad11ea96ae4cb3b7acd7.

`assert_raise_message` in test-unit is different from
`assert_raise_with_message`.  It checks the exception message
only, but not the exception class,
</pre>
</div>
</content>
</entry>
<entry>
<title>alias assert_raise_message for compatibility with test-unit</title>
<updated>2019-10-16T08:44:51+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-10-16T08:22:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=43015275b9a7f2833c93ad11ea96ae4cb3b7acd7'/>
<id>43015275b9a7f2833c93ad11ea96ae4cb3b7acd7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
