test-loop 7.0.0 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/bin/test-loop +4 -3
  2. metadata +2 -2
data/bin/test-loop CHANGED
@@ -156,7 +156,7 @@ module Test
156
156
  if Dir[*Config.reabsorb_file_globs].
157
157
  any? {|file| File.mtime(file) > @started_at }
158
158
  then
159
- Process.kill :QUIT, $$
159
+ reload_master_process
160
160
  end
161
161
 
162
162
  sleep 1
@@ -175,8 +175,9 @@ module Test
175
175
  worker_pid = fork do
176
176
  # capture test output in log file because tests are run in parallel
177
177
  # which makes it difficult to understand interleaved output thereof
178
- $stdout.reopen(log_file, 'w').sync = true
179
- $stderr.reopen($stdout)
178
+ $stdout.reopen log_file, 'w'
179
+ $stdout.sync = true
180
+ $stderr.reopen $stdout
180
181
 
181
182
  # determine which test blocks have changed inside the test file
182
183
  test_names = Diff::LCS.diff(old_lines, new_lines).flatten.map \
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 7
7
7
  - 0
8
- - 0
9
- version: 7.0.0
8
+ - 1
9
+ version: 7.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Suraj N. Kurapati