<div dir="ltr">Hi Rory,<div class="gmail_extra"><div><div class="gmail_signature"><br></div></div><div class="gmail_signature">Understood - it will be good to be able to encourage various OpenJDK members to contribute / port tests into it and measure that. Small steps :-).</div><div class="gmail_signature"><br></div><div class="gmail_quote">On 19 January 2015 at 16:35, Rory O'Donnell <span dir="ltr"><<a href="mailto:rory.odonnell@oracle.com" target="_blank">rory.odonnell@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<br>
<div>On 19/01/2015 15:36, Martijn Verburg
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Rory,
<div><br>
</div>
<div>Thanks - we're looking into the existing Cloudbees Jenkins
instance to do this. <br>
</div>
</div>
</blockquote></span>
ok<span class=""><br>
<blockquote type="cite">
<div dir="ltr">
<div> A second question quick question - do the numbers we're
publishing look right compared to your internal ones? <br>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div dir="ltr">
<div> Appreciate non OpenJDK tests run by Oracle means that they
cover more. </div>
</div>
<div class="gmail_extra"><br clear="all">
</div>
</blockquote></span>
Comparing our internal numbers with yours would be like comparing
apples with pears<br>
I'm afraid.<br>
<br>
Rgds,Rory<div><div class="h5"><br>
<blockquote type="cite">
<div class="gmail_extra">
<div>
<div>Cheers,<br>
Martijn</div>
</div>
<br>
<div class="gmail_quote">On 19 January 2015 at 15:18, Rory
O'Donnell <span dir="ltr"><<a href="mailto:rory.odonnell@oracle.com" target="_blank">rory.odonnell@oracle.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
On 19/01/2015 10:55, Martijn Verburg wrote:<br>
</span>
<div>
<div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
John Oliver and Mani Sarkar spent some time on the
most recent Adopt OpenJDK hackday and managed to get
what looks like to be meaningful code coverage numbers
for OpenJDK using the jcov/jtreg tools:<br>
<br>
Results for jdk9: <a href="http://sticky.uwcs.co.uk/jcov/" target="_blank">http://sticky.uwcs.co.uk/jcov/</a><br>
<br>
========Code Tools Dev========<br>
<br>
The configuration John used was as follows (is this
the correct usage pattern?):<br>
<br>
Build jdk images<br>
install jtreg with the jcov<br>
<br>
export the normal vars:<br>
<br>
```<br>
export SOURCE_CODE=/home/joliver/workspace/jdk9/<br>
export JTREG_INSTALL=/home/joliver/workspace/jtreg<br>
export JT_HOME=$JTREG_INSTALL<br>
export JTREG_HOME=$JTREG_INSTALL<br>
export PRODUCT_HOME=$SOURCE_CODE/build/linux-x86_64-normal-server-release/images/jdk
<br>
export JPRT_JTREG_HOME=${JT_HOME}<br>
export JPRT_JAVA_HOME=${PRODUCT_HOME}<br>
export JTREG_TIMEOUT_FACTOR=5<br>
export CONCURRENCY=8<br>
```<br>
<br>
cd into jdk/test<br>
<br>
edit the Makefile and add the following:<br>
<br>
```<br>
jdkroot=/home/joliver/workspace/jdk9/<br>
<br>
JTREG_TEST_OPTIONS += -jcov/classes:$(jdkroot)/build/linux-x86_64-normal-server-release/jdk/modules/java.base<br>
JTREG_TEST_OPTIONS += -jcov/source:$(jdkroot)/jdk/src/java.base/share/classes<br>
JTREG_TEST_OPTIONS += -jcov/include:*<br>
```<br>
<br>
just before the line: # Make sure jtreg exists<br>
<br>
then just run "make test" inside the root<br>
<br>
=======Quality Discuss=======<br>
</blockquote>
</div>
</div>
Hi Martijn,<br>
<br>
Posting the results on our wiki won't work, so I can provide
a link to the<br>
results. Let me know when you have decided on the link
locations.<br>
<br>
Rgds,Rory<span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Is this something that could be hosted by the quality
group for the major OpenJDK code lines (7u, 8u and
jdk9)?<br>
<br>
If not then the Adoption Group can host it on one of
their external servers temporarily and we could link to
that from the wiki(s)/project page(s).<br>
<br>
Cheers,<br>
Martijn<br>
</blockquote>
<br>
</span>
<div>
<div>
-- <br>
Rgds,Rory O'Donnell<br>
Quality Engineering Manager<br>
Oracle EMEA , Dublin, Ireland<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre cols="72">--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland </pre>
</div></div></div>
</blockquote></div><br></div></div>