Thomas E. Enebo
51d161980a
[ruby/racc] Make racc test more flexible (for JRuby).
...
JRuby uses these same files for testing racc. The existing logic will not
find 'racc' in a JRuby project checkout. This change allows it to work by
just assuming 'ruby -S racc' when running tests. This will not change C
Ruby's detection when setting up tests (since earlier checks will find
racc).
https://github.com/ruby/racc/commit/b74ce5e018
2022-11-10 22:36:34 +00:00
Nobuyoshi Nakada
1d9f2a4504
[ruby/racc] Show diffs
...
https://github.com/ruby/racc/commit/0b679e2f69
2022-05-20 17:49:15 +09:00
Olle Jonsson
645acf5771
[ruby/racc] Prefer __dir__ over File.dirname(__FILE__)
...
https://github.com/ruby/racc/commit/c49df40658
2021-09-15 16:20:18 +09:00
Hiroshi SHIBATA
f650ca7568
[ruby/racc] Rename helper to case
2021-09-15 08:52:49 +09:00
Hiroshi SHIBATA
845ab32a29
[ruby/racc] Ignored loading CoreAssertions in test case
...
https://github.com/ruby/racc/commit/1f8b05b298
2021-09-15 08:49:24 +09:00
Jean Boussier
71344a1d63
[ruby/racc] Stop compressing integer lists
...
It is unclear why this was implemented, I assume
it was for performance back in 2006.
However today, this compression defeats bytecode caching
entirely and end up being counter productive.
https://github.com/ruby/racc/commit/ae3703c1d0
2021-06-25 17:23:06 +09:00
Hiroshi SHIBATA
4a03df4507
[ruby/racc] skip the failing test with JRuby
...
https://github.com/ruby/racc/commit/cf37713895
2020-11-10 21:21:07 +09:00
Yusuke Endoh
2fed5f0ad8
lib/racc/statetransitiontable.rb: Make the racc output stable
...
Racc calls `Array#sort!` to build a state transition table. As
`Array#sort!` is not a stable sort, the output may differ depending upon
the environment.
This changeset makes the sort stable manually, and updates all
expectation files.
2020-11-10 07:49:19 +09:00
Yusuke Endoh
40a499db65
test/racc/test_racc_command.rb: prevent a warning
...
http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20200929T003003Z.log.html.gz
```
warning: ambiguous first argument; put parentheses or a space even after `/' operator
```
2020-09-29 11:58:04 +09:00
Marc-Andre Lafortune
97d1a381e1
[ Fixes #137 ] Improve reporting
2020-09-28 18:07:24 +09:00
Nobuyoshi Nakada
e68999c82c
Fixed misspellings
...
Fixed misspellings reported at [Bug #16437 ], for default gems.
2019-12-20 12:19:45 +09:00
Hiroshi SHIBATA
79d2a1b004
Update regression tests for 1.4.16
2019-12-10 18:41:05 +09:00
Kazuhiro NISHIYAMA
449b2b9214
Fix typos
2019-11-17 13:11:25 +09:00
Nobuyoshi Nakada
cbbdb4e5a2
[ruby/racc] Strip trailing whitespaces at the last line of actions
...
https://github.com/ruby/racc/commit/a887ebe529
2019-11-04 09:28:01 +09:00
Hiroshi SHIBATA
e08f2e47e3
Also ignore mswin platform
2019-10-31 08:39:48 +09:00
Hiroshi SHIBATA
8540efd342
Ignore test_racc_command with linux platform
2019-10-31 08:39:48 +09:00
Hiroshi SHIBATA
1c03026ea3
Try to run assert_output_unchanged with racc tests
2019-10-31 08:39:48 +09:00
Hiroshi SHIBATA
e6d611ad37
Regenerate the output results for test fixtures of racc
2019-10-30 21:02:07 +09:00
Nobuyoshi Nakada
92dcee393a
Clean up temporary directory for racc
2019-07-02 15:02:16 +09:00
Nobuyoshi Nakada
9cb58f1698
Suppress unused variable warning
2019-07-01 00:22:38 +09:00
Nobuyoshi Nakada
3077cb6912
Restore $VERBOSE
2019-06-20 18:20:38 +09:00
Nobuyoshi Nakada
e31602b78d
Suppress warnings
2019-06-20 17:41:09 +09:00
Yusuke Endoh
65944e96d3
test/racc/test_racc_command.rb: Extend the timeout
...
test_opal, test_ruby18, and test_ruby22 are slow tests.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-ad7f67/ruby-master/log/20190619T105405Z.fail.html.gz
2019-06-19 23:10:40 +09:00
git
b93508b32c
* remove trailing spaces, append newline at EOF.
2019-06-19 18:19:20 +09:00
Hiroshi SHIBATA
2b4024da32
Temporary disabled to invoke assert_output_unchanged.
...
Because some environment created the different results from test fixtures.
2019-06-19 18:18:13 +09:00
Hiroshi SHIBATA
d710321800
Workaround for the external file for racc test
2019-06-19 18:18:04 +09:00
Hiroshi SHIBATA
8a3bd06d27
use TEMP_DIR.
2019-06-19 18:17:59 +09:00
Hiroshi SHIBATA
4cca8c4d20
Use Test::Unit instead of Minitest and fixed test error with ruby repo.
...
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2019-06-19 18:17:53 +09:00
Hiroshi SHIBATA
2272d6ae24
Restore test_dir and update prefix for Dir.mktmpdir.
2019-06-19 18:17:48 +09:00
Hiroshi SHIBATA
9ea1fc27a9
Try to use Dir.mktmpdir.
2019-06-19 18:17:44 +09:00
Hiroshi SHIBATA
c110b59af5
Fixed path for ruby core repository.
2019-06-19 18:17:31 +09:00
Hiroshi SHIBATA
1a2546c2be
Backport racc-1.4.15 from upstream.
2019-06-19 18:17:25 +09:00