Skip to content

🔥 Remove vestigial temp directory code #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .rubocop_gradual.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
"lib/turbo_tests/reporter.rb:1386902608": [
[7, 5, 400, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2092085575]
],
"lib/turbo_tests/runner.rb:2125673792": [
"lib/turbo_tests/runner.rb:3577354185": [
[13, 5, 271, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 21989008],
[20, 5, 1311, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 1925027850],
[241, 11, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361],
[260, 47, 6, "Style/GlobalStdStream: Use `$stderr` instead of `STDERR`.", 3356712163],
[262, 21, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361],
[271, 7, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361],
[331, 9, 6, "Style/GlobalStdStream: Use `$stdout` instead of `STDOUT`.", 3356722952]
[230, 11, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361],
[249, 47, 6, "Style/GlobalStdStream: Use `$stderr` instead of `STDERR`.", 3356712163],
[251, 21, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361],
[260, 7, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361],
[320, 9, 6, "Style/GlobalStdStream: Use `$stdout` instead of `STDOUT`.", 3356722952]
],
"spec/cli_spec.rb:3990998076": [
[1, 1, 30, "RSpec/SpecFilePathFormat: Spec path should end with `turbo_tests/cli*_spec.rb`.", 965721356],
Expand Down
11 changes: 0 additions & 11 deletions lib/turbo_tests/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ def run
**@parallel_options,
)

setup_tmp_dir

subprocess_opts = {
record_runtime: @record_runtime,
}
Expand Down Expand Up @@ -153,15 +151,6 @@ def handle_interrupt
end
end

def setup_tmp_dir
begin
FileUtils.rm_r("tmp/test-pipes")
rescue Errno::ENOENT
end

FileUtils.mkdir_p("tmp/test-pipes/")
end

def start_regular_subprocess(tests, process_id, **opts)
start_subprocess(
{"TEST_ENV_NUMBER" => process_id.to_s},
Expand Down
Loading