Output JS Karma test coverage reports to ./cover/

Per CTI direction (see bug filing), this patch moves the JS Karma test coverage
reports to ./cover/ so they may be collected in the gate for archiving.

The two runs each have their own directory so they don't overlap/conflict.

Change-Id: I0b1536c115a516f4b6ab80b5ebab5337b308c210
Closes-Bug: 1588389
This commit is contained in:
Matt Borland 2016-06-02 08:25:14 -06:00
parent 4e384db0cf
commit bf7c5908fb
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@
.coverage*
.noseids
.DS_STORE
/cover
coverage.xml
coverage-karma
nosetests.xml

View File

@ -138,7 +138,7 @@ module.exports = function (config) {
coverageReporter: {
type: 'html',
dir: '../coverage-karma/'
dir: '../../cover/horizon'
},
// Coverage threshold values.

View File

@ -184,7 +184,7 @@ module.exports = function (config) {
// Places coverage report in HTML format in the subdirectory below.
coverageReporter: {
type: 'html',
dir: './coverage-karma/'
dir: '../cover/openstack_dashboard'
},
// Coverage threshold values.