Skip to content

Commit

Permalink
Quick fix on Ctrl-C handling while tests are running.
Browse files Browse the repository at this point in the history
  • Loading branch information
nalanj committed Dec 11, 2011
1 parent 168ab2d commit e807451
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/tconsole.rb
Expand Up @@ -86,9 +86,6 @@ def self.run_tests(globs)
time = Benchmark.realtime do
pid = fork do

# Interrupting during a test run won't exit the console, just the test run
trap("SIGINT") { puts; puts "Interrupted. Stopping tests."; puts; exit(1); }

puts "Running tests..."
puts

Expand Down

0 comments on commit e807451

Please sign in to comment.