diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-11-10 01:16:59 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-11-10 01:16:59 +0000 |
commit | 38a38766deef994577cfb89e7a1b5a30e8bcd7eb (patch) | |
tree | f81c13feaf524958d87a93c570d4b7230228693c | |
parent | 39202060afca2be96c1d01dd83b738de0bd2cc7f (diff) | |
download | mogilefs-client-38a38766deef994577cfb89e7a1b5a30e8bcd7eb.tar.gz |
Should make tests easier to fix and debug.
-rw-r--r-- | test/exec.rb | 1 | ||||
-rw-r--r-- | test/setup.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/exec.rb b/test/exec.rb index b2c2bf9..d84713e 100644 --- a/test/exec.rb +++ b/test/exec.rb @@ -1,5 +1,6 @@ # -*- encoding: binary -*- $stdout.sync = $stderr.sync = true +Thread.abort_on_exception = true require 'test/unit' require 'securerandom' require 'tempfile' diff --git a/test/setup.rb b/test/setup.rb index b831cc1..8fda7f1 100644 --- a/test/setup.rb +++ b/test/setup.rb @@ -1,5 +1,6 @@ # -*- encoding: binary -*- STDIN.sync = STDOUT.sync = STDERR.sync = true +Thread.abort_on_exception = true require 'test/unit' require 'tempfile' require 'fileutils' |