Commit 28bb4724 by Ned Batchelder Committed by Calen Pennington

Put the coverage data files in the reports dir, where they will be treated like…

Put the coverage data files in the reports dir, where they will be treated like the disposable things they are.
parent d3e2e739
# .coveragerc for cms # .coveragerc for cms
[run] [run]
data_file = cms/.coverage data_file = reports/cms/.coverage
[report] [report]
ignore_errors = True ignore_errors = True
......
# .coveragerc for common/lib/capa # .coveragerc for common/lib/capa
[run] [run]
data_file = common/lib/capa/.coverage data_file = reports/common/lib/capa/.coverage
[report] [report]
ignore_errors = True ignore_errors = True
......
# .coveragerc for common/lib/xmodule # .coveragerc for common/lib/xmodule
[run] [run]
data_file = common/lib/xmodule/.coverage data_file = reports/common/lib/xmodule/.coverage
[report] [report]
ignore_errors = True ignore_errors = True
......
# .coveragerc for lms # .coveragerc for lms
[run] [run]
data_file = lms/.coverage data_file = reports/lms/.coverage
[report] [report]
ignore_errors = True ignore_errors = True
......
...@@ -209,10 +209,10 @@ namespace :coverage do ...@@ -209,10 +209,10 @@ namespace :coverage do
sh("coverage xml -o reports/#{dir}/coverage.xml --rcfile=#{dir}/.coveragerc") sh("coverage xml -o reports/#{dir}/coverage.xml --rcfile=#{dir}/.coveragerc")
end end
end end
end
TEST_TASK_DIRS.each do |dir| TEST_TASK_DIRS.each do |dir|
CLOBBER.include("#{dir}/.coverage") CLOBBER.include("#{dir}/.coverage")
end
end end
task :runserver => :lms task :runserver => :lms
......
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