<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/fiddle, 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>merge revision(s) 0168094da28c146062db22e69cbd9316418310f9,cdef17096c03099f17ecf0af51f43faa0944f96d,b7d86e330c76b4f9615511307e1c40f4f2937c83:</title>
<updated>2020-10-01T12:15:38+00:00</updated>
<author>
<name>nagachika</name>
<email>nagachika@ruby-lang.org</email>
</author>
<published>2020-10-01T12:15:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5445e0435260b449decf2ac16f9d09bae3cafe72'/>
<id>5445e0435260b449decf2ac16f9d09bae3cafe72</id>
<content type='text'>
	Use libSystem.dylib instead of libm.dylib and libc.dylib

	  Because macOS 11.0(Big Sur) was removed libc and libm from `/usr/lib`.

	libSystem.dylib is also symlink. Use libSystem.B.dylib

	Workaroud for macOS Big Sur(11.0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Use libSystem.dylib instead of libm.dylib and libc.dylib

	  Because macOS 11.0(Big Sur) was removed libc and libm from `/usr/lib`.

	libSystem.dylib is also symlink. Use libSystem.B.dylib

	Workaroud for macOS Big Sur(11.0)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix "cannot find the function: strcpy()" error on arm32 on Travis CI. (#2686)</title>
<updated>2019-12-05T05:17:16+00:00</updated>
<author>
<name>Jun Aruga</name>
<email>junaruga@users.noreply.github.com</email>
</author>
<published>2019-12-05T05:17:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c0d118f41a3a66ab76a553f184efe431524b952d'/>
<id>c0d118f41a3a66ab76a553f184efe431524b952d</id>
<content type='text'>
This issue happened when `libc.so` and `libm.so` path were not found
and `ldd ruby` command also failed to print the shared dependencies
in `test/fiddle/helper.rb`.

See https://travis-ci.org/ruby/ruby/jobs/611483288#L3018
/home/travis/build/ruby/ruby/build/.ext/common/fiddle/import.rb:299:in `import_function': cannot find the function: strcpy() (Fiddle::DLError)

* Set libc6:armhf as a installing dependency explicitly.
* Remove arm32 from allow_failures.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This issue happened when `libc.so` and `libm.so` path were not found
and `ldd ruby` command also failed to print the shared dependencies
in `test/fiddle/helper.rb`.

See https://travis-ci.org/ruby/ruby/jobs/611483288#L3018
/home/travis/build/ruby/ruby/build/.ext/common/fiddle/import.rb:299:in `import_function': cannot find the function: strcpy() (Fiddle::DLError)

* Set libc6:armhf as a installing dependency explicitly.
* Remove arm32 from allow_failures.</pre>
</div>
</content>
</entry>
<entry>
<title>More fixes for $SAFE/taint post merging</title>
<updated>2019-11-17T23:00:25+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-11-15T02:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ab42e5a486a5b27107296fa34056f03ac878e306'/>
<id>ab42e5a486a5b27107296fa34056f03ac878e306</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate taint/trust and related methods, and make the methods no-ops</title>
<updated>2019-11-17T23:00:25+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-09-25T03:59:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ffd0820ab317542f8780aac475da590a4bdbc7a8'/>
<id>ffd0820ab317542f8780aac475da590a4bdbc7a8</id>
<content type='text'>
This removes the related tests, and puts the related specs behind
version guards.  This affects all code in lib, including some
libraries that may want to support older versions of Ruby.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the related tests, and puts the related specs behind
version guards.  This affects all code in lib, including some
libraries that may want to support older versions of Ruby.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[ruby/fiddle] Fix a failing test (#13)"</title>
<updated>2019-10-24T11:58:32+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2019-10-24T10:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dc44ab2913719a7d9b78012f277b9fe02868c172'/>
<id>dc44ab2913719a7d9b78012f277b9fe02868c172</id>
<content type='text'>
This reverts commit 5ebb0d50f6560b35bc03deb79341a115c5f782ee.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 5ebb0d50f6560b35bc03deb79341a115c5f782ee.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[ruby/fiddle] test: use env Hash"</title>
<updated>2019-10-24T11:58:32+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2019-10-24T10:53:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=de5ee47c3da9d06e8dcffa35e4e7f9b5a3122907'/>
<id>de5ee47c3da9d06e8dcffa35e4e7f9b5a3122907</id>
<content type='text'>
This reverts commit 4d844cbaed518743776594fa5ae33b86fe176ad1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 4d844cbaed518743776594fa5ae33b86fe176ad1.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Remove taint support (#21)</title>
<updated>2019-10-24T10:34:49+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-10-19T23:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b809784817649817c3e53fa000f57504446caef9'/>
<id>b809784817649817c3e53fa000f57504446caef9</id>
<content type='text'>
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions.
https://github.com/ruby/fiddle/commit/18d6fb6915
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous Ruby versions.
https://github.com/ruby/fiddle/commit/18d6fb6915
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Use RbConfig::SIZEOF (#19)</title>
<updated>2019-10-24T10:34:36+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-06-13T07:08:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=30d46966a97968d166f2f1440f227c2b52483780'/>
<id>30d46966a97968d166f2f1440f227c2b52483780</id>
<content type='text'>
https://github.com/ruby/fiddle/commit/ea06b28db8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/fiddle/commit/ea06b28db8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] test: use env Hash</title>
<updated>2019-10-24T10:34:29+00:00</updated>
<author>
<name>Sutou Kouhei</name>
<email>kou@clear-code.com</email>
</author>
<published>2019-05-27T21:04:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4d844cbaed518743776594fa5ae33b86fe176ad1'/>
<id>4d844cbaed518743776594fa5ae33b86fe176ad1</id>
<content type='text'>
https://github.com/ruby/fiddle/commit/a01a962342
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/fiddle/commit/a01a962342
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fiddle] Fix a failing test (#13)</title>
<updated>2019-10-24T10:34:22+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>mrkn@users.noreply.github.com</email>
</author>
<published>2019-05-27T09:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5ebb0d50f6560b35bc03deb79341a115c5f782ee'/>
<id>5ebb0d50f6560b35bc03deb79341a115c5f782ee</id>
<content type='text'>
* Fix a failing test

This commit fixes the following failure:

```
  1) Failure:
Fiddle::TestImport#test_no_message_with_debug [/Users/mrkn/src/github.com/ruby/fiddle/test/fiddle/test_import.rb:152]:

1. [2/2] Assertion for "stderr"
   | &lt;[]&gt; expected but was
   | &lt;["Exception `NameError' at /Users/mrkn/.rbenv/versions/2.5.1/lib/ruby/2.5.0/fiddle/import.rb:157 - uninitialized constant Fiddle::Function::STDCALL"]&gt;.
```

* Stop using Bundler.with_clean_env

* Clear existing Ruby environment variables on test_no_message_with_debug

https://github.com/ruby/fiddle/commit/13133ddec8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix a failing test

This commit fixes the following failure:

```
  1) Failure:
Fiddle::TestImport#test_no_message_with_debug [/Users/mrkn/src/github.com/ruby/fiddle/test/fiddle/test_import.rb:152]:

1. [2/2] Assertion for "stderr"
   | &lt;[]&gt; expected but was
   | &lt;["Exception `NameError' at /Users/mrkn/.rbenv/versions/2.5.1/lib/ruby/2.5.0/fiddle/import.rb:157 - uninitialized constant Fiddle::Function::STDCALL"]&gt;.
```

* Stop using Bundler.with_clean_env

* Clear existing Ruby environment variables on test_no_message_with_debug

https://github.com/ruby/fiddle/commit/13133ddec8
</pre>
</div>
</content>
</entry>
</feed>
