From 617a605ca22a233cb8948d40c14fadaf49d99b02 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 28 Nov 2013 11:04:53 -0500 Subject: [PATCH] NO_QUNIT=1 disables qunit in autospec --- lib/autospec/manager.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/autospec/manager.rb b/lib/autospec/manager.rb index 76eae8f55d6..e1052f8dd51 100644 --- a/lib/autospec/manager.rb +++ b/lib/autospec/manager.rb @@ -18,7 +18,8 @@ class Autospec::Manager @queue = [] @mutex = Mutex.new @signal = ConditionVariable.new - @runners = [ruby_runner, javascript_runner] + @runners = [ruby_runner] + @runners << javascript_runner unless ENV['NO_QUNIT'] end def run