Skip to content

Commit d53c545

Browse files
committed
[GR-37274] Fix or exclude ripper parsing tests.
PullRequest: truffleruby/3224
2 parents 25398cf + 32a5d45 commit d53c545

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
exclude :"test_parse_files:ext", "needs investigation"
1+
exclude :"test_parse_files:ext", "Depends on MRI repository structure"
2+
exclude :"test_parse_files:sample", "Depends on MRI repository structure"

test/mri/tests/ripper/assert_parse_files.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
module TestRipper; end
55
class TestRipper::Generic < Test::Unit::TestCase
6-
SRCDIR = File.expand_path("../../..", __FILE__)
6+
# Changed from MRI to reflect the different relative path of the test suite.
7+
SRCDIR = File.expand_path("../../../../..", __FILE__)
78

89
def assert_parse_files(dir, pattern = "**/*.rb")
910
assert_separately(%W[--disable-gem -rripper - #{SRCDIR}/#{dir} #{pattern}],

0 commit comments

Comments
 (0)