Skip to content

Tweaks to play nice with ruby-core setup#3733

Merged
deivid-rodriguez merged 2 commits intomasterfrom
tmp_dir_tweaks
Jun 16, 2020
Merged

Tweaks to play nice with ruby-core setup#3733
deivid-rodriguez merged 2 commits intomasterfrom
tmp_dir_tweaks

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

Description:

This PR adds a couple of tweaks to our test setup to play nice to the environment where our test run inside the ruby repository. With these commits, #3725 should go green.

Already tested at ruby/ruby#3213.

Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

@deivid-rodriguez deivid-rodriguez changed the title Tmp dir tweaks Tweaks to play nice with ruby-core setup Jun 16, 2020
Namely, those generated under `./tmp`.

The previous approach was brittle and broken in the case of ruby-core,
because under that setup, the root folder is in the original
`$LOAD_PATH`, and dummy features are created under `./tmp`, and due to
the check that I'm removing in this commit, they were failing to be
reset.
Ruby-core runs rubygems tests in parallel, and the previous setup
doesn't play nice with that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants