Skip to content
Snippets Groups Projects
Commit 7033faf1 authored by Ned Batchelder's avatar Ned Batchelder Committed by Calen Pennington
Browse files

Don't show stdout from collectstatic during tests.

parent 459c5e32
No related merge requests found
......@@ -134,7 +134,11 @@ TEST_TASKS = []
desc "Run collectstatic in the specified environment"
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
......@@ -270,4 +274,4 @@ task :doc => :builddocs do
Dir.chdir('docs/build/html') do
sh('open index.html')
end
end
\ No newline at end of file
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment