about summary refs log tree commit homepage
path: root/test/helper.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-07 22:39:27 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-07 22:39:27 +0000
commitbccf40dd51e06ece51a023cf75b0cc8bce904d30 (patch)
treebbf111481588f3f7b103d1da53a5ac5c05ed8a1b /test/helper.rb
parentd2f75170a6c1548b85335c7e84a000ed67a0158b (diff)
downloaddtas-bccf40dd51e06ece51a023cf75b0cc8bce904d30.tar.gz
This seems to be working out nicely.  Having a basic integration
test should be enough to get us started for now.
Diffstat (limited to 'test/helper.rb')
-rw-r--r--test/helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/helper.rb b/test/helper.rb
index 7675a7c..fe980c2 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,6 +1,8 @@
 # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
 # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
 $stdout.sync = $stderr.sync = Thread.abort_on_exception = true
+require 'thread'
+WAIT_ALL_MTX = Mutex.new
 
 # fork-aware coverage data gatherer, see also test/covshow.rb
 if ENV["COVERAGE"]