Hiroshi SHIBATA
27ead9907d
Typofix under lib and test, tool directories
2023-12-25 11:32:42 +09:00
Nobuyoshi Nakada
c86c6a84f5
[Bug #19968 ] Revert RBS revision to test
...
This reverts the commits for the master branch of RBS:
- commit f717faac632dd8664d0967f8e639b84d5d032854: "Update rbs
revision to test"
The target revision to test is in master branch, not for 3.2.x.
- commit 9e93af5329f35092c3de3ea37d4e9e181b800bb2: "Skip RBS
`RbConfig::TOPDIR` test that is `nil` before installation"
RbConfig_test.rb is not updated in 3.2.x branch.
2023-10-24 22:59:09 +09:00
Nobuyoshi Nakada
9e93af5329
Skip RBS `RbConfig::TOPDIR` test that is `nil` before installation
2023-10-22 08:44:52 +09:00
Nobuyoshi Nakada
0ca5182ae5
RBS no longer has test/stdlib/Prime_test.rb
2023-10-22 08:44:52 +09:00
Nobuyoshi Nakada
b76c2ec005
Use `::` form workflow commands
2023-08-15 23:30:40 +09:00
Nobuyoshi Nakada
c5c15a565b
Allow test-unit-ruby-core files to be loaded from bundled gems
...
Separate the directly from the customized test-unit, since it may not
work with bundled gems.
2023-06-14 12:14:20 +09:00
Hiroshi SHIBATA
f6e6d52b22
Try to skip Prime_test.rb
2023-06-12 13:18:28 +09:00
Hiroshi SHIBATA
8be4659b60
Run test-unit test without rake task to avoid yard dependency
2023-06-12 13:18:28 +09:00
Soutaro Matsumoto
1abec43b5d
Fix rbs ( #7415 )
...
* Update RBS to skip validation task
* Revert TEST_BUNDLED_GEMS_ALLOW_FAILURES
2023-03-02 12:59:04 +09:00
Soutaro Matsumoto
6af6857ecf
Set up RBS_SKIP_TESTS ( #6862 )
...
* Set up RBS_SKIP_TESTS
2022-12-21 22:11:51 +09:00
Nobuyoshi Nakada
6d6b1e5990
Display error messages outside the groups so can be found quickly
2022-12-12 23:32:37 +09:00
Alan Wu
574d849869
Run skipped minitest tests that now pass
...
The mentioned PR was merged.
2022-11-19 10:36:51 +09:00
Nobuyoshi Nakada
464f73a5f0
Do not load library files from repository only for test
...
What we want to test should be the bundled and to be installed files,
but not the upstream.
2022-07-27 17:36:45 +09:00
Nobuyoshi Nakada
b291c972fa
Use built bundled gems in test-bundled-gems
2022-07-25 08:50:07 +09:00
Nobuyoshi Nakada
e0a7e5e131
Kill bundled gem tests when interrupted
2022-07-24 16:36:33 +09:00
Nobuyoshi Nakada
5101671cbc
Disable parallel built in test-bundled-gems
2022-07-16 15:28:05 +09:00
Nobuyoshi Nakada
1150a54afe
Use `File::PATH_SEPARATOR` for the portability
2022-07-09 19:00:56 +09:00
Hiroshi SHIBATA
cc50e57bf5
Relax extention name for macOS
2021-11-15 16:52:10 +09:00
Soutaro Matsumoto
dee2e9b2be
Bundle RBS 1.7.0 ( #5105 )
...
* Bundle RBS 1.7.0
* tool/test-bundled-gems.rb: Use a correct path to Check if rbs is built
* tool/test-bundled-gems.rb: lib/rbs/parse.y is no longer created
Co-authored-by: Yusuke Endoh <mame@ruby-lang.org>
2021-11-12 02:01:53 +09:00
Yusuke Endoh
efe7e6e949
Bundle rbs 1.7.0.beta.5
2021-11-09 03:32:46 +09:00
Koichi Sasada
bc96a45f12
introduce debug.gem
...
For the `test-bundled-gems`, make `debug.so` with extconf.rb and
`make` command directly because `rake-compiler` assume ruby is
installed (but `test-bundled-gems` can run without installation).
2021-10-05 02:07:33 +09:00
Yusuke Endoh
b44741f5dc
tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProf
...
Formerly, TypeProf was tested with the latest RBS code during
`make test-bundled-gems`. However, when a new version of rbs is
released, and if it is incompatible with TypeProf,
`make test-bundled-gems` starts failing, which was annoying.
By this change, TypeProf is tested with the bundled version of RBS.
2021-08-25 11:13:17 +09:00
Yusuke Endoh
4a6b5f4622
Revert "tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProf"
...
This reverts commit 22deda43cb
.
It was incomplete. Sorry!
2021-08-24 18:08:16 +09:00
Yusuke Endoh
22deda43cb
tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProf
...
Formerly, TypeProf was tested with the latest RBS code during
`make test-bundled-gems`. However, when a new version of rbs is
released, and if it is incompatible with TypeProf,
`make test-bundled-gems` starts failing, which was annoying.
By this change, TypeProf is tested with the bundled version of RBS.
2021-08-24 17:43:11 +09:00
Nobuyoshi Nakada
6e60fc2945
Group commands on GitHub Actions
2021-08-07 18:32:24 +09:00
Yusuke Endoh
d1998d8767
tool/test-bundled-gems.rb: Stop tests conflicting with error_highlight
...
This hack should be removed after the minitest side is updated.
https://github.com/seattlerb/minitest/pull/880
2021-06-29 23:45:49 +09:00
Nobuyoshi Nakada
2a99fea89e
test-bundled-gems.rb: show failed gems at last
2020-12-03 21:31:44 +09:00
Nobuyoshi Nakada
9e94cd18fc
test-bundled-gems: select bundled gems to test by BUNDLED_GEMS
2020-12-02 17:06:09 +09:00
Koichi Sasada
4414031735
extend timeout of rbs test on rbs tests
2020-10-21 17:59:03 +09:00
Hiroshi SHIBATA
ba889100d8
Bundle rbs gem as bundled gems ( #3496 )
...
* Added rbs as bundled gems
* Added the missing dependencies for rbs gem
2020-09-23 10:59:49 +09:00
Nobuyoshi Nakada
358f91bf6f
Skip comment and empty lines in gems/bundled_gems file
2020-07-05 18:59:06 +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
c7632fa80c
Do not occupy `ARGV` by XRUBY command
...
Instead run test-bundled-gems.rb by `ENV['RUBY']`, which should be
set by runruby.rb.
2019-11-05 08:45:19 +09:00
Nobuyoshi Nakada
48f982aba7
test-bundled-gems.rb: fixed for out-of-place build
2019-10-28 19:14:38 +09:00
Benoit Daloze
a27dc83113
Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for miniruby
2019-09-29 13:57:54 +02:00
Benoit Daloze
4096e4b08c
Move the logic to test bundled gems to Ruby code
...
* Writing shell scripts in a Makefile is very error-prone.
* TEST_BUNDLED_GEMS_ALLOW_FAILURES seemed to not work before.
2019-09-29 13:57:54 +02:00