The ruby rpms
Find a file
Jun Aruga 027b62ae4e Give an option to increase the timeout in tests.
Because setting the option makes some tests stable that are currently randomly
failing with error on especially s390x and aarch64.

We observed the failing tests are calling `assert_in_out_err` method
calling `invoke_ruby` calling method.

Then when the `th_stdout.join(timeout)` or `th_stderr.join(timeout)` returns
`nil` as thread timeout in `invoke_ruby` method, it causes the error. [1][2]

The `test_timeout_scale` macro is to set the environment variable
`RUBY_TEST_TIMEOUT_SCALE` to increase the timeout in `apply_timeout_scale`
method as <new timeout> = <timeout> * <timeout scale>.

As an example, `TestBugReporter#test_bug_reporter_add` test's
maximum thread timeout was 56+ seconds for the default timeout 10 seconds. [3]
In this case setting `RUBY_TEST_TIMEOUT_SCALE=6` (6 * 10 = 60) is good enough
for 56+ seconds.

[1] https://github.com/ruby/ruby/blob/v2_7_1/tool/lib/envutil.rb#L149
[2] https://bugs.ruby-lang.org/issues/16492#note-8
[3] https://bugs.ruby-lang.org/issues/16492#note-4
2020-10-14 14:42:03 +02:00
.gitignore Upgrade to Ruby 2.3.0. 2016-01-05 11:00:48 +01:00
abrt_prelude.rb Load RubyGems prior ABRT hook to properly rescue RubyGems exceptions. 2016-01-06 13:35:09 +01:00
libruby.stp Add TapSet for Ruby. 2013-02-22 14:17:04 +01:00
macros.ruby Add %{ruby_default_filter} macro. 2013-04-30 14:42:13 +02:00
macros.rubygems Add --with-cxxflags configuration for %gem_install macro. 2018-08-30 14:29:48 +02:00
operating_system.rb Fix: return default path with nonexistent home dir 2018-10-23 13:12:19 +02:00
ruby-1.9.3-mkmf-verbose.patch Update to Ruby 2.5.3. 2018-10-22 12:12:21 +02:00
ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch Update to Ruby 2.5.5. 2019-04-30 17:26:17 +02:00
ruby-2.1.0-always-use-i386.patch Update to Ruby 2.5.5. 2019-04-30 17:26:17 +02:00
ruby-2.1.0-custom-rubygems-location.patch Update to Ruby 2.5.5. 2019-04-30 17:26:17 +02:00
ruby-2.1.0-Enable-configuration-of-archlibdir.patch Update to Ruby 2.5.5. 2019-04-30 17:26:17 +02:00
ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch Update to Ruby 2.5.5. 2019-04-30 17:26:17 +02:00
ruby-2.2.3-Generate-preludes-using-miniruby.patch Upgrade to Ruby 2.5.0. 2018-01-03 12:07:19 +01:00
ruby-2.3.0-ruby_version.patch Update to Ruby 2.5.5. 2019-04-30 17:26:17 +02:00
ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch Upgrade to Ruby 2.5.0. 2018-01-03 12:07:19 +01:00
ruby-2.5.0-Add-Gem.operating_system_defaults.patch Update to Ruby 2.5.5. 2019-04-30 17:26:17 +02:00
ruby-2.5.1-Avoid-need-of-C++-compiler-to-pass-the-test-suite.patch Avoid need of C++ compiler to pass the test suite. 2018-07-26 13:50:39 +02:00
ruby-2.6.0-config-support-include-directive.patch Fix ".include =" support in openssl.cnf. 2019-04-30 17:45:32 +02:00
ruby-2.6.0-configure-fstack-protector-strong.patch Properly harden package using -fstack-protector-strong. 2018-09-03 14:11:55 +02:00
ruby-2.6.0-library-options-to-MAINLIBS.patch Adjust ruby-2.6.0-library-options-to-MAINLIBS.patch to fix Hunk lines. 2020-10-14 14:31:40 +02:00
ruby-2.6.0-net-http-net-ftp-fix-session-resumption-with-TLS-1.3.patch Cleanly apply patches. 2018-08-30 13:06:14 +02:00
ruby-2.6.0-rdoc-6.0.1-fix-template-typo.patch Fix generated rdoc template issues. 2018-08-30 13:06:11 +02:00
ruby-2.6.0-use-larger-keys-for-SSL-tests.patch Additional OpenSSL 1.1.1 fixes. 2018-08-30 13:07:30 +02:00
ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch Avoid possible timeout errors in TestBugReporter#test_bug_reporter_add. 2020-10-14 14:41:12 +02:00
ruby-2.7.2-psych-fix-yaml-tests.patch Fix FTBFS due to libyaml 0.2.5. 2020-10-14 14:32:01 +02:00
ruby-2.8.0-Brace-the-fact-that-lchmod-can-EOPNOTSUPP.patch Fix FTBFS due to glibc 2.31.9000 implementing lchmod(2). 2020-10-14 14:27:18 +02:00
ruby-2.8.0-Moved-not-implemented-method-tests.patch Remove tests using Bug::NotImplement class. 2020-10-14 14:30:13 +02:00
ruby-exercise.stp Add missing ruby-exercise.stp file. 2013-02-22 14:17:53 +01:00
ruby.spec Give an option to increase the timeout in tests. 2020-10-14 14:42:03 +02:00
rubygems.attr Add conflicts RPM generator. 2018-02-13 13:50:15 +01:00
rubygems.con Add conflicts RPM generator. 2018-02-13 13:50:15 +01:00
rubygems.prov Use revisions instead of tilde. 2014-04-07 15:23:44 +02:00
rubygems.req Conflict requirement needs to generate dependency. 2018-04-10 09:53:37 +02:00
sources Update to Ruby 2.5.5. 2019-04-30 17:26:17 +02:00
test_abrt.rb Move the ABRT hook test into separate file. 2015-12-13 19:36:58 +01:00
test_systemtap.rb Upgrade to Ruby 2.4.0. 2017-01-09 15:58:21 +01:00