Skip to content

Commit

Permalink
remove name override logic that never worked (#758)
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed May 10, 2020
1 parent 67c8dab commit c40b34b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
3 changes: 1 addition & 2 deletions lib/parallel_tests/cli.rb
Expand Up @@ -316,9 +316,8 @@ def detailed_duration(seconds)
end

def final_fail_message
fail_message = "#{@runner.name}s Failed"
fail_message = "Tests Failed"
fail_message = "\e[31m#{fail_message}\e[0m" if use_colors?

fail_message
end

Expand Down
2 changes: 0 additions & 2 deletions lib/parallel_tests/rspec/runner.rb
Expand Up @@ -4,8 +4,6 @@ module ParallelTests
module RSpec
class Runner < ParallelTests::Test::Runner
DEV_NULL = (WINDOWS ? "NUL" : "/dev/null")
NAME = 'RSpec'

class << self
def run_tests(test_files, process_number, num_processes, options)
exe = executable # expensive, so we cache
Expand Down
6 changes: 0 additions & 6 deletions lib/parallel_tests/test/runner.rb
Expand Up @@ -3,15 +3,9 @@
module ParallelTests
module Test
class Runner
NAME = 'Test'

class << self
# --- usually overwritten by other runners

def name
NAME
end

def runtime_log
'tmp/parallel_runtime_test.log'
end
Expand Down

0 comments on commit c40b34b

Please sign in to comment.