Skip to content

Commit 7f7d5aa

Browse files
authored
Replace env variable PARALLEL_TESTS_EXECUTABLE with RSPEC_EXECUTABLE
1 parent ea12c5b commit 7f7d5aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/turbo_tests/runner.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ def start_subprocess(env, extra_args, tests, process_id, record_runtime:)
140140
env["RUBYOPT"] = ["-I#{File.expand_path("..", __dir__)}", ENV["RUBYOPT"]].compact.join(" ")
141141
env["RSPEC_SILENCE_FILTER_ANNOUNCEMENTS"] = "1"
142142

143-
if ENV["PARALLEL_TESTS_EXECUTABLE"]
144-
command_name = ENV["PARALLEL_TESTS_EXECUTABLE"].split
143+
if ENV["RSPEC_EXECUTABLE"]
144+
command_name = ENV["RSPEC_EXECUTABLE"].split
145145
elsif ENV["BUNDLE_BIN_PATH"]
146146
command_name = [ENV["BUNDLE_BIN_PATH"], "exec", "rspec"]
147147
else

0 commit comments

Comments
 (0)