Commit graph

1846 commits

Author SHA1 Message Date
Hiroshi SHIBATA
bbd1ed626f
Promote tmpdir to the default gems 2020-02-12 20:34:19 +09:00
Hiroshi SHIBATA
b8e7bd9f44
Promote tempfile to the default gems. 2020-02-12 19:46:34 +09:00
Hiroshi SHIBATA
56f6973b68
Promote weakref to the default gems 2020-02-11 14:05:04 +09:00
Hiroshi SHIBATA
9b2e671944 Expose assert_no_memory_leak for weakref 2020-02-11 13:29:23 +09:00
Hiroshi SHIBATA
a5d7b8e13d Expose assert_normal_exit for weakref 2020-02-11 13:29:23 +09:00
aycabta
6891fd1580 Don't use upstream ext/readline/depend 2020-02-10 19:41:07 +09:00
卜部昌平
115fec062c more on NULL versus functions.
Function pointers are not void*.  See also
ce4ea956d2
8427fca49b
2020-02-07 14:24:19 +09:00
Nobuyoshi Nakada
a3fb97465d
Stop auto runner
Auto runner should not run in forked processes in separated tests.
2020-02-07 13:43:50 +09:00
Nobuyoshi Nakada
3d21a75c72
No crafted backtrace for SystemExit
As SystemExit is ignored, it is just useless.
2020-02-07 11:09:19 +09:00
aycabta
e323f50a9c Fix readline-ext sync 2020-02-06 21:20:20 +09:00
Nobuyoshi Nakada
5fac54a594
Fixed the output from separated test in parallel test
Redirect the output of separated child process to
`MiniTest::Unit.output`.
2020-02-06 20:53:11 +09:00
Nobuyoshi Nakada
f1c230f18b
Add separated assertion count 2020-02-06 20:52:25 +09:00
卜部昌平
72bbf60f3a do not assume GCC for __builtin_setjmp
Namely recent Sun C compiler has this function, and is not a GCC.
Meanwhile the code without RUBY_JMP_BUF assumes GCC.  We have to define
the macro when we detect __builtin_setjmp for non-GCC compilers.
2020-02-06 11:46:51 +09:00
Nobuyoshi Nakada
0226d72e95
Fixed the output from separated test in parallel test
To output to the STDOUT of the parent process according to the
parallel test protocol, should send to the `MiniTest::Unit.output`
instead of each own STDOUT.
2020-02-05 09:39:14 +09:00
Nobuyoshi Nakada
6fe44576b9
Fixed FD leaks 2020-02-05 09:30:12 +09:00
Nobuyoshi Nakada
c6cd4206df
Get rid of nested string interpolations to be editor-friendly 2020-02-05 08:53:21 +09:00
NARUSE, Yui
390a9d3b72 just use STDOUT 2020-02-04 21:51:57 +09:00
NARUSE, Yui
9b9a621ae3 On Windows it cannot receive fd except 0..2 2020-02-04 20:54:48 +09:00
NARUSE, Yui
0529fead36 assert_separately uses their own pipe instead of stdout 2020-02-04 19:30:11 +09:00
Nobuyoshi Nakada
b68fc08092
Indent ChangeLog contents [ci skip]
Separate each entries more obviously as `page-delimiter' works
fine.
2020-02-01 23:26:53 +09:00
Nobuyoshi Nakada
ab35876444
Explicitly set the encoding of ChangeLog file to UTF-8 [ci skip] 2020-02-01 23:10:18 +09:00
Hiroshi SHIBATA
563f177aa4
UnpackedInstaller on rbinstall.rb is inherited from Gem::Installer.
It also needs to explicitly convert from String to Gem::Package
  with initialization.
2020-02-01 11:31:46 +09:00
Hiroshi SHIBATA
f8df531bbf
Gem::Installer.new(String, options) is obsoleted. Explicitly converted
to Gem::Package from String instance.
2020-02-01 11:23:34 +09:00
Nobuyoshi Nakada
f7f8dc5fd4
Unnamed groups are not captured when named groups are used 2020-01-30 11:31:48 +09:00
Koichi Sasada
20c1c24014 Minitest::Unit.current_repeat_count
This method returns loop counter for multi-run (0 start).
2020-01-28 18:13:58 +09:00
Nobuyoshi Nakada
33d02e6bc7
Skip empty directories to install [Bug #16596] 2020-01-28 10:04:25 +09:00
Hiroshi SHIBATA
aacd918340
Do not use git pull because origin/master was already fetched. 2020-01-26 07:40:56 +09:00
Hiroshi SHIBATA
da2d6ca8f1
Show the repository name before update task 2020-01-26 07:38:20 +09:00
Hiroshi SHIBATA
9e3bfed53c
Added usage documentation for sync_default_gems 2020-01-22 16:02:10 +09:00
aycabta
cdaae38f79 Use gem name to specify 2020-01-22 13:44:49 +09:00
Nobuyoshi Nakada
496f295f91
Test bundled gems with timeout 2020-01-19 11:35:10 +09:00
Nobuyoshi Nakada
f43940633d
test-bundled-gems.rb: Use real paths for symlinks 2020-01-13 12:27:24 +09:00
Nobuyoshi Nakada
b34f39e860
vcs.rb: Allow to empty a part in commit log 2020-01-12 19:43:59 +09:00
Hiroshi SHIBATA
83240f315a Make rss library to the bundle gems
[Feature #16485][ruby-core:96683]
2020-01-12 12:28:29 +09:00
Hiroshi SHIBATA
c3ccf23d58 Make rexml library to the bundle gems
[Feature #16485][ruby-core:96683]
2020-01-12 12:28:29 +09:00
Hiroshi SHIBATA
e04366056a
Update the upstream repository of bundler 2020-01-10 22:56:46 +09:00
Nobuyoshi Nakada
d254d5563e
vcs.rb: Get rid of Kernel#open 2020-01-09 10:04:22 +09:00
Jun Aruga
f132825ffa Disable IPv6 on Travis s390x case. (#2819)
This fixes following error that sometimes happens once in a few times
on Travis s390x environment.

```
$ tool/travis_retry.sh sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
+ sudo -E apt-add-repository -y ppa:ubuntu-toolchain-r/test
Error: retrieving gpg key timed out.
```
2020-01-07 12:23:04 +09:00
Takashi Kokubun
afd3f64f8c
Redmine /projects/ruby-trunk is now redirected
to /projects/ruby-master
2019-12-31 22:06:19 -08:00
Nobuyoshi Nakada
26ee0af4b3
Test the bundled version minitest instead of master
Minitest has the released tags now.
2019-12-31 17:49:26 +09:00
Nobuyoshi Nakada
d7bef803ac Separate builtin initialization calls 2019-12-29 12:34:55 +09:00
Kazuhiro NISHIYAMA
729b7ce270
Add check_warning_flags to leakchecker 2019-12-27 13:06:31 +09:00
卜部昌平
5e22f873ed decouple internal.h headers
Saves comitters' daily life by avoid #include-ing everything from
internal.h to make each file do so instead.  This would significantly
speed up incremental builds.

We take the following inclusion order in this changeset:

1.  "ruby/config.h", where _GNU_SOURCE is defined (must be the very
    first thing among everything).
2.  RUBY_EXTCONF_H if any.
3.  Standard C headers, sorted alphabetically.
4.  Other system headers, maybe guarded by #ifdef
5.  Everything else, sorted alphabetically.

Exceptions are those win32-related headers, which tend not be self-
containing (headers have inclusion order dependencies).
2019-12-26 20:45:12 +09:00
NARUSE, Yui
1002de58ec fix version regexp 2019-12-25 18:02:53 +09:00
NARUSE, Yui
a1018b2c5f fix typo 2019-12-25 17:01:26 +09:00
Nobuyoshi Nakada
5de284ec78
Fixed a typo in an exception class name 2019-12-23 10:37:30 +09:00
Nobuyoshi Nakada
5f18635a80
make-snapshot: fixed mode
"X" must be used in conjunction with "+".
2019-12-23 10:10:23 +09:00
Nobuyoshi Nakada
80d5d220b9
Fix typo in commit logs by log-fix notes 2019-12-23 09:29:05 +09:00
NARUSE, Yui
3a29f05ba5 Move stats under a dict 2019-12-22 02:51:22 +09:00
NARUSE, Yui
216b62aa87 use UTC to use previous day in midnight 2019-12-20 14:10:57 +09:00