Граф коммитов

1267 Коммитов

Автор SHA1 Сообщение Дата
Koichi Sasada 3b39cc6b03 gc.h is required on mswin build.
thread.c requires gc.h on mswin build. Sorry.
2019-08-09 14:11:24 +09:00
Koichi Sasada 6bf8db9a07 add rp() and bp() in internal.h.
debug utility macro rp() (rp_m()) and bp() are introduced.
* rp(obj) shows obj information w/o any side-effect to STDERR.
* rp_m(m, obj) is similar to rp(obj), but show m before.
* bp() is alias of ruby_debug_breakpoint(), which is registered
  as a breakpoint in run.gdb (used by `make gdb` or make gdb-ruby`).
2019-08-09 14:01:15 +09:00
Koichi Sasada 37eefb11fb remove useless include and dependency 2019-08-09 13:08:01 +09:00
Takashi Kokubun 0176e74d6c
Add missing dependency
just fix CI failure
https://travis-ci.org/ruby/ruby/jobs/569625233
2019-08-09 11:39:24 +09:00
Takashi Kokubun 0d2aa6fec9
Upgrade benchmark-driver version
as I already started to use --runner=block introduced in v0.14.20 like:
https://github.com/ruby/ruby/pull/2321#issuecomment-518638663
2019-08-07 22:11:53 +09:00
Nobuyoshi Nakada ceb9e276b9
Shorten dependency hint [ci skip] 2019-07-30 21:16:30 +09:00
Nobuyoshi Nakada e25088488b
Hint for the dependency update [Bug #16000] 2019-07-30 17:23:42 +09:00
Nobuyoshi Nakada 8e53d18e67
Separated tool/test/runner.rb and test/runner.rb
As `make test-tool` does not use gems, and no Rubygems stuffs is
needed, so moved such things to test/runner.rb.  Also no longer
nees `--test-target-dir` option.
2019-07-25 16:57:38 +09:00
Nobuyoshi Nakada 0338c44bde
Retry to update Unicode timestamp 2019-07-23 17:39:03 +09:00
Nobuyoshi Nakada f6461fa890
Only the first argument can be --test-target-dir option
Raise the proper exception when that option is not given but
non-option argument is.
2019-07-22 13:07:03 +09:00
Yusuke Endoh 08ea924043 common.mk: `make check` now includes `make test-tool`
And `make test-tool` includes `make test-testframework`.

This change may be arguable because I'm unsure who is an intended user
of `make check`: a normal user, or Ruby-core developer.  Normal users
don't have to run `make test-tool` for testing their installation, but
Ruby committers should run it before they commit anything.

In this case, I'd be conservative; `make check` includes `test-tool`.
If normal users often report a failure of `make test-tool`, then we can
consider to split `make check` for two sets of target users.
2019-07-21 22:30:15 +09:00
Yusuke Endoh 24712eeec3 tool/test/runner.rb: support --test-target-dir option
tool/test/runner.rb had been copied from test/runner.rb.
test/runner.rb was for `make test-all`, and tool/test/runner.rb was for
`make test-testframework` and `make test-tool`.
But I want to avoid the code clones.

This change makes tool/test/runner.rb support --test-target-dir option
which allows tool/test/runner.rb to run `make test-all`.
Now we can remove test/runner.rb.
2019-07-21 19:19:08 +09:00
Hiroshi SHIBATA d285579ea7
Update simplecov and doclie to the latest version. 2019-07-21 09:46:49 +09:00
Takashi Kokubun 56b957e88a
Upgrade benchmark-driver.gem again
because v0.14.18 was actually not working with `make run`.
In `make run`, `Gem` is defined but `Gem::Version` isn't.
v0.14.19 checks `defined?(Gem::Version)` instead of `defined?(Gem)`.
2019-07-20 15:27:58 +09:00
Takashi Kokubun 8a38eff2bd
Upgrade benchmark-driver.gem version
This is to make `make run` with benchmark/lib/load.rb work for ko1
https://github.com/benchmark-driver/benchmark-driver/compare/v0.14.17...v0.14.18
2019-07-20 15:13:03 +09:00
Samuel Williams 7291fef55c
Improve build process and coroutine implementation selection. 2019-07-18 20:54:54 +12:00
Nobuyoshi Nakada 8e37ef76f6
Fixed the library path for tools 2019-07-16 08:46:38 +09:00
Hiroshi SHIBATA d02f2fc3e2
Added help message for test-tool target. 2019-07-15 11:19:13 +09:00
Hiroshi SHIBATA ac6d137157
Added test-tool target for the test suite of tool/test files. 2019-07-15 11:16:29 +09:00
Takashi Kokubun 0a417248a0
Fix unaligned help output
1f99274ccf was indenting details with a
hard tab, but other lines are using spaces.
2019-07-15 08:38:09 +09:00
Takashi Kokubun 02c4ed4a7f
Stop consuming 2 entries for goruby
similar to 364f43ab7f and
13cb9e6bd2
2019-07-15 08:36:53 +09:00
Hiroshi SHIBATA 1f99274ccf
Added the bundled gems target to make help. 2019-07-15 08:19:56 +09:00
Yusuke Endoh 13cb9e6bd2 common.mk: remove "make exam" from help
Currently it is completely the same as "make check".
I think it is not worth mentioning now.
2019-07-15 08:19:21 +09:00
Takashi Kokubun ea71128573
Unify documentations of `make benchmark` 2019-07-15 06:22:23 +09:00
Takashi Kokubun e8b6f63039
Drop `make change` and tool/change_maker.rb
because we're not writing ChangeLog anymore.
2019-07-15 06:17:31 +09:00
Takashi Kokubun 364f43ab7f
Reduce the number of make help entries
We've added some more things recently. It seems not worth having almost
the same two entries there anymore.
2019-07-15 06:11:47 +09:00
Takashi Kokubun 0ee105f3f0
Mention SPECOPTS variable in make help 2019-07-15 06:08:55 +09:00
Nobuyoshi Nakada 715955ff27
Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
Nobuyoshi Nakada 32f0135144
Split RUBY_ASSERT and so on under include/ruby 2019-07-14 17:45:21 +09:00
Nobuyoshi Nakada b1be349bfb
Make symlink to "ruby" only from the install-name 2019-07-09 21:22:07 +09:00
Nobuyoshi Nakada eb043c8888
${} does not work with nmake.exe 2019-07-02 11:46:58 +09:00
Nobuyoshi Nakada 6e7e0bf257
Now test-almost equals to test-all 2019-07-02 09:45:29 +09:00
Hiroshi SHIBATA 4adfd5227f Removed needless exclude option related testframework.
They are moved under the tool directory now.
2019-07-02 09:23:19 +09:00
Hiroshi SHIBATA c68781e918 Split test files for test-framework that are test-unit and minitest to tool direcotry. 2019-07-02 07:59:54 +09:00
Samuel Williams 6c6bf9ffcb Add `ucontext` coroutine implementation for generic fallback. 2019-06-26 20:19:53 +12:00
Nobuyoshi Nakada fde842fec0
Clean coroutine and timestamp directories 2019-06-21 03:20:09 +09:00
Samuel Williams d17344cfc5 Remove IA64 support. 2019-06-19 23:30:04 +12:00
Nobuyoshi Nakada a064e46762
Support Bison 3 2019-06-17 03:09:52 +09:00
Hiroshi SHIBATA 614154bbb6 Added missing dependency for rake examples. 2019-06-09 13:25:56 +09:00
Takashi Kokubun 1a0b82210c
Upgrade benchmark-driver to fix deprecation warning 2019-06-04 01:03:03 +09:00
Takashi Kokubun 928377d2c5
Revert "common.mk: allow brace expansion for benchmark targets"
This reverts commit 4c0e21add7
because we're not using /bin/bash.

See 11d3986d65 and
1b2b0e1f24 to know its context.
In short, 4c0e21add7 does not work on
Ubuntu.
2019-06-03 22:01:06 +09:00
Takashi Kokubun a4c5d23404
benchmark/time_strptime.yml does not work with miniruby
Since 72ad092960, we cannot run full `make benchmark`
because default BENCH_RUBY is miniruby and it fails to require 'time'.

Using miniruby for benchmark by default seems reasonable for some cases,
but now it's just bothering for people running full `make benchmark`.
2019-06-03 20:47:33 +09:00
Nobuyoshi Nakada f7aa80b3fe
Make the target name unique when BASERUBY=no 2019-05-31 00:00:26 +09:00
Jeremy Evans d2ba80b5df Revert "Fix building with 1.8 BASERUBY"
This reverts commit 05bc14d81a.

We have decided that the cost of reintroducing support for 1.8
BASERUBY outweighs the benefit.  If you are still using 1.8 and want
to build master/trunk, build and install the latest release, and use
that as BASERUBY.
2019-05-29 18:03:21 -07:00
Nobuyoshi Nakada 34fe1f7d71
Create empty revision.tmp if BASERUBY is not yes 2019-05-29 12:09:25 +09:00
Nobuyoshi Nakada c86d1fbed5
Create empty revision.tmp if no BASERUBY 2019-05-29 09:46:44 +09:00
Takashi Kokubun e1f62d7f0e
Check the result of file2lastrev.rb if HAVE_BASERUBY
is yes.

We ignored the failure status of file2lastrev.rb on 73da429c36, but it
was for an environment without BASERUBY. I think we should skip running
file2lastrev.rb on HAVE_BASERUBY=no, and run it and check the status on
HAVE_BASERUBY=yes.

Otherwise we may have an ignored arbitrary error of file2lastrev.rb on
HAVE_BASERUBY=yes environment.
2019-05-29 08:19:35 +09:00
Jeremy Evans 05bc14d81a Fix building with 1.8 BASERUBY 2019-05-27 20:55:56 -07:00
Martin Dürst c06f9e1d24 switch UNICODE_BETA to NO (one more try, first try didn't work)
Unicode version 12.1.0 was officially released on May 7th, 2019.
    There were no changes at all from the "real" beta
    published shortly after the new era name "Reiwa" was announced.
    So we can switch UNICODE_BETA back to NO.

    common.mk: switch UNICODE_BETA back to NO
    tool/downloader.rb: add additional conditions to avoid an error
                        when moving from beta to final
2019-05-24 18:22:36 +09:00
Nobuyoshi Nakada 35caedc828
--autostash is since Git 2.6 [Bug #15871] 2019-05-24 14:11:00 +09:00