Pass ident string to coverage report when tests are run with `-c` option jv
authorJan Vrany <jan.vrany@fit.cvut.cz>
Sat, 28 May 2016 10:40:05 +0100
branchjv
changeset 318b7f0437a6d18
parent 317 a4b0b75a7a51
child 322 9ec2abb1218e
Pass ident string to coverage report when tests are run with `-c` option

i.e., when tests are run like

report-runner -D . -i build10 -r Builder::TestReport -p stx:libjava

following files will be created:

stx_libjava-build10-Test.xml
stx_libjava-build10-Coverage.xml
reports/Builder__TestReport.st
     1.1 --- a/reports/Builder__TestReport.st	Fri Apr 01 06:37:55 2016 +0200
     1.2 +++ b/reports/Builder__TestReport.st	Sat May 28 10:40:05 2016 +0100
     1.3 @@ -248,6 +248,7 @@
     1.4          Transcript cr; cr.
     1.5          Transcript show: 'COLLECTING COVERAGE...'.
     1.6          coverage name: self name.
     1.7 +        coverage ident: self ident.
     1.8          coverage run.
     1.9      ] ifFalse:[
    1.10          suite run:result.
    1.11 @@ -270,7 +271,7 @@
    1.12      Transcript cr.
    1.13  
    1.14      "Created: / 04-08-2011 / 12:39:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    1.15 -    "Modified: / 23-10-2013 / 11:48:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    1.16 +    "Modified: / 28-05-2016 / 10:33:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    1.17  ! !
    1.18  
    1.19  !TestReport::Result methodsFor:'accessing'!
    1.20 @@ -627,6 +628,11 @@
    1.21      ^ '$Header$'
    1.22  !
    1.23  
    1.24 +version_HG
    1.25 +
    1.26 +    ^ '$Changeset: <not expanded> $'
    1.27 +!
    1.28 +
    1.29  version_SVN
    1.30      ^ '$Id$'
    1.31  ! !