missing bracket
This commit is contained in:
parent
2c6ed64ebe
commit
2d41c5ed3c
|
@ -105,16 +105,16 @@ task 'plugin:qunit', [:plugin, :timeout] do |t, args|
|
||||||
|
|
||||||
cmd = 'LOAD_PLUGINS=1 '
|
cmd = 'LOAD_PLUGINS=1 '
|
||||||
cmd += 'QUNIT_SKIP_CORE=1 '
|
cmd += 'QUNIT_SKIP_CORE=1 '
|
||||||
|
|
||||||
if args[:plugin] == "*"
|
if args[:plugin] == "*"
|
||||||
puts "Running qunit tests for all plugins"
|
puts "Running qunit tests for all plugins"
|
||||||
else
|
else
|
||||||
puts "Running qunit tests for #{args[:plugin]}"
|
puts "Running qunit tests for #{args[:plugin]}"
|
||||||
cmd += "QUNIT_SINGLE_PLUGIN='#{args[:plugin]}' "
|
cmd += "QUNIT_SINGLE_PLUGIN='#{args[:plugin]}' "
|
||||||
end
|
end
|
||||||
|
|
||||||
cmd += "#{rake} qunit:test"
|
cmd += "#{rake} qunit:test"
|
||||||
cmd += "[#{args[:timeout]}" if args[:timeout]
|
cmd += "[#{args[:timeout]}]" if args[:timeout]
|
||||||
|
|
||||||
sh cmd
|
sh cmd
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue