Commit 279137d0 by Ned Batchelder Committed by Calen Pennington

Don't show stdout from collectstatic during tests.

parent c9c8b476
...@@ -134,7 +134,11 @@ TEST_TASKS = [] ...@@ -134,7 +134,11 @@ TEST_TASKS = []
desc "Run collectstatic in the specified environment" desc "Run collectstatic in the specified environment"
task "#{system}:collectstatic:#{env}" => :predjango do task "#{system}:collectstatic:#{env}" => :predjango do
sh("#{django_admin(system, env, 'collectstatic', '--noinput')}") sh("#{django_admin(system, env, 'collectstatic', '--noinput')} > /tmp/collectstatic.out") do |ok, status|
if !ok
abort "collectstatic failed!"
end
end
end end
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment