[ruby/irb] Skip integration tests in core CI

(https://github.com/ruby/irb/pull/677)

We already skipped history integration tests in core CI in #675 due to
suspicion on nested IRB sessions don't work on certain operating systems.

But after #669, the evaluation integration test also started to fail on
some Core CI suites. So, it looks like the integration test setup may not
work in Core CI, at least in some suites.

Consider `ruby/irb` already has rather sophisticated test suite, I think
it's better to skip the integration tests in core CI for now.

https://github.com/ruby/irb/commit/6f49b4c108
This commit is contained in:
Stan Lo 2023-08-11 19:27:12 +01:00 committed by git
parent b6c66604d8
commit c173c637ab
3 changed files with 4 additions and 12 deletions

View File

@ -87,6 +87,10 @@ module TestIRB
omit "Integration tests require PTY."
end
if ruby_core?
omit "This test works only under ruby/irb"
end
@envs = {}
end

View File

@ -10,10 +10,6 @@ module TestIRB
def setup
super
if ruby_core?
omit "This test works only under ruby/irb"
end
if RUBY_ENGINE == 'truffleruby'
omit "This test runs with ruby/debug, which doesn't work with truffleruby"
end

View File

@ -210,14 +210,6 @@ module TestIRB
end
class NestedIRBHistoryTest < IntegrationTestCase
def setup
super
if ruby_core?
omit "This test works only under ruby/irb"
end
end
def test_history_saving_with_nested_sessions
write_history ""