Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
0cf46f76
Commit
0cf46f76
authored
Nov 08, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Namespace the coverage html and xml report generation tasks
parent
17570c4c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
10 deletions
+16
-10
jenkins/test_edge.sh
+2
-1
jenkins/test_lms.sh
+2
-1
rakefile
+12
-8
No files found.
jenkins/test_edge.sh
View file @
0cf46f76
...
...
@@ -23,7 +23,7 @@ rake test_common/lib/capa || TESTS_FAILED=1
rake test_common/lib/xmodule
||
TESTS_FAILED
=
1
rake phantomjs_jasmine_lms
||
true
rake phantomjs_jasmine_cms
||
true
rake
xml
html
rake
coverage:xml coverage:
html
[
$TESTS_FAILED
==
'0'
]
rake autodeploy_properties
\ No newline at end of file
jenkins/test_lms.sh
View file @
0cf46f76
...
...
@@ -21,7 +21,7 @@ rake test_lms[false] || TESTS_FAILED=1
rake test_common/lib/capa
||
TESTS_FAILED
=
1
rake test_common/lib/xmodule
||
TESTS_FAILED
=
1
rake phantomjs_jasmine_lms
||
true
rake
xml
html
rake
coverage:xml coverage:
html
[
$TESTS_FAILED
==
'0'
]
rake autodeploy_properties
\ No newline at end of file
rakefile
View file @
0cf46f76
...
...
@@ -184,16 +184,20 @@ task :test do
end
end
task
:html
do
TEST_TASK_DIRS
.
each
do
|
dir
|
sh
(
"coverage html --rcfile=
#{
dir
}
/.coveragerc"
)
namespace
:coverage
do
desc
"Build the html coverage reports"
task
:html
do
TEST_TASK_DIRS
.
each
do
|
dir
|
sh
(
"coverage html --rcfile=
#{
dir
}
/.coveragerc"
)
end
end
end
task
:xml
do
TEST_TASK_DIRS
.
each
do
|
dir
|
# Why doesn't the rcfile control the xml output file properly??
sh
(
"coverage xml -o reports/
#{
dir
}
/coverage.xml --rcfile=
#{
dir
}
/.coveragerc"
)
desc
"Build the xml coverage reports"
task
:xml
do
TEST_TASK_DIRS
.
each
do
|
dir
|
# Why doesn't the rcfile control the xml output file properly??
sh
(
"coverage xml -o reports/
#{
dir
}
/coverage.xml --rcfile=
#{
dir
}
/.coveragerc"
)
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment