<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/irb/test_raise_no_backtrace_exception.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/irb] Improve testing infra</title>
<updated>2022-11-15T17:26:51+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2022-11-15T17:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9751b54971c5ad3bab29ce8af6ec50695aa43251'/>
<id>9751b54971c5ad3bab29ce8af6ec50695aa43251</id>
<content type='text'>
(https://github.com/ruby/irb/pull/442)

* Add test_in_isolation task to run tests in isolation

This simulates how tests are run in Ruby CI and can detect some issues
before they're merged and break Ruby CI later.

* Run test_in_isolation task on CI

* Fix TestRaiseNoBacktraceException's setup

https://github.com/ruby/irb/commit/51f23c58b0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/442)

* Add test_in_isolation task to run tests in isolation

This simulates how tests are run in Ruby CI and can detect some issues
before they're merged and break Ruby CI later.

* Run test_in_isolation task on CI

* Fix TestRaiseNoBacktraceException's setup

https://github.com/ruby/irb/commit/51f23c58b0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Provide a base test class and let tests restore encodings</title>
<updated>2022-11-03T22:13:11+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2022-11-03T22:13:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a9232038119f2401e6c3d3a4946114b1e878afb5'/>
<id>a9232038119f2401e6c3d3a4946114b1e878afb5</id>
<content type='text'>
conveniently
(https://github.com/ruby/irb/pull/429)

* Create a base TestIRB::TestCase class

* Save/restore encodings for tests that initializes InputMethod classes

Because `RelineInputMethod#initializes` calls `set_encoding`, which
changes stdio/out/err and Encoding's default encoding values, we need to
make sure any test that directly or indirectly (e.g. through Context)
initializes `RelineInputMethod` restores encodings.

`ReadlineInputMethod` also changes encodings but currently no tests
cover it.

* Remove unnecessary TestHelper module

Since we now have a base TestCase, without_rdoc can just live there.

https://github.com/ruby/irb/commit/c2874ec121
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
conveniently
(https://github.com/ruby/irb/pull/429)

* Create a base TestIRB::TestCase class

* Save/restore encodings for tests that initializes InputMethod classes

Because `RelineInputMethod#initializes` calls `set_encoding`, which
changes stdio/out/err and Encoding's default encoding values, we need to
make sure any test that directly or indirectly (e.g. through Context)
initializes `RelineInputMethod` restores encodings.

`ReadlineInputMethod` also changes encodings but currently no tests
cover it.

* Remove unnecessary TestHelper module

Since we now have a base TestCase, without_rdoc can just live there.

https://github.com/ruby/irb/commit/c2874ec121
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Suppress warning for test which uses a locale non-existing on GitHub Actions</title>
<updated>2022-10-27T19:16:52+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2022-10-27T19:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bb7067cbdfe1cf1b8bbd742e87f41c9707ddb2d2'/>
<id>bb7067cbdfe1cf1b8bbd742e87f41c9707ddb2d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Remove unecesary and harmful pend for TruffleRuby in TestRaiseNoBacktraceException</title>
<updated>2022-10-27T19:16:51+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2022-10-27T18:54:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8d7844235cd9ba9836e9eacb74c75d31aaa567b3'/>
<id>8d7844235cd9ba9836e9eacb74c75d31aaa567b3</id>
<content type='text'>
* Specifically the second one causes `$HOME` to be unset, which breaks `File.expand_path('~')`.

https://github.com/ruby/irb/commit/61963305f5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Specifically the second one causes `$HOME` to be unset, which breaks `File.expand_path('~')`.

https://github.com/ruby/irb/commit/61963305f5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Use pend instead of skip</title>
<updated>2021-08-30T03:39:23+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-05-31T05:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=598f4f42196a51d922f539fa885173c39312b427'/>
<id>598f4f42196a51d922f539fa885173c39312b427</id>
<content type='text'>
https://github.com/ruby/irb/commit/f441ce35bf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/f441ce35bf
</pre>
</div>
</content>
</entry>
<entry>
<title>test/irb/test_raise_no_backtrace_exception.rb: fix test file path</title>
<updated>2021-05-18T07:04:37+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-05-18T07:02:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=34bc8210ed1624dc6ba24afef4616baa5a934df9'/>
<id>34bc8210ed1624dc6ba24afef4616baa5a934df9</id>
<content type='text'>
Create a file for test under the temporary directory.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create a file for test under the temporary directory.
</pre>
</div>
</content>
</entry>
<entry>
<title>test/irb/test_raise_no_backtrace_exception.rb: Set LC_MESSAGES as UTF-8</title>
<updated>2021-05-11T10:38:06+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-05-11T10:37:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1b61cdd5e0997b18ac63cbb21911d0e286df26d3'/>
<id>1b61cdd5e0997b18ac63cbb21911d0e286df26d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Skip test_raise_exception_with_invalid_byte_sequence</title>
<updated>2021-05-11T05:46:33+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2021-05-11T05:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=66ca6ede16b675d1d61ff099966235db9d26fd85'/>
<id>66ca6ede16b675d1d61ff099966235db9d26fd85</id>
<content type='text'>
on Windows for now. It seems like we haven't figured this out yet.

https://github.com/ruby/irb/commit/ecf5a1ace1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
on Windows for now. It seems like we haven't figured this out yet.

https://github.com/ruby/irb/commit/ecf5a1ace1
</pre>
</div>
</content>
</entry>
<entry>
<title>Explicitly specify encoding for another test as well</title>
<updated>2021-05-11T04:41:36+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2021-05-11T04:41:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=afa70d079f0eebc25fc10afe0ce69dd01bb9132b'/>
<id>afa70d079f0eebc25fc10afe0ce69dd01bb9132b</id>
<content type='text'>
Same as e2ccc3301e2c69533b9ef2464613781c6c964c3a
https://ci.appveyor.com/project/ruby/ruby/builds/39102539/job/k8m1yrrjesxbgvtq
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Same as e2ccc3301e2c69533b9ef2464613781c6c964c3a
https://ci.appveyor.com/project/ruby/ruby/builds/39102539/job/k8m1yrrjesxbgvtq
</pre>
</div>
</content>
</entry>
<entry>
<title>test/irb/test_raise_no_backtrace_exception.rb: UTF-8 is expected</title>
<updated>2021-05-11T04:30:28+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-05-11T04:30:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e2ccc3301e2c69533b9ef2464613781c6c964c3a'/>
<id>e2ccc3301e2c69533b9ef2464613781c6c964c3a</id>
<content type='text'>
... for the output of assert_in_out_err.

This will fix the following failure on many CI machines

http://rubyci.s3.amazonaws.com/arch/ruby-master/log/20210511T030005Z.fail.html.gz
```
  1) Failure:
TestIRB::TestRaiseNoBacktraceException#test_raise_exception_with_different_encoding_containing_invalid_byte_sequence [/home/chkbuild/chkbuild/tmp/build/20210511T030005Z/ruby/test/irb/test_raise_no_backtrace_exception.rb:41]:
pid 221531 exit 0.

1. [1/2] Assertion for "stdout"
   | invalid byte sequence in US-ASCII.
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... for the output of assert_in_out_err.

This will fix the following failure on many CI machines

http://rubyci.s3.amazonaws.com/arch/ruby-master/log/20210511T030005Z.fail.html.gz
```
  1) Failure:
TestIRB::TestRaiseNoBacktraceException#test_raise_exception_with_different_encoding_containing_invalid_byte_sequence [/home/chkbuild/chkbuild/tmp/build/20210511T030005Z/ruby/test/irb/test_raise_no_backtrace_exception.rb:41]:
pid 221531 exit 0.

1. [1/2] Assertion for "stdout"
   | invalid byte sequence in US-ASCII.
```
</pre>
</div>
</content>
</entry>
</feed>
