<div dir="ltr">Hi Rory,<div><br></div><div>Thanks - we're looking into the existing Cloudbees Jenkins instance to do this. A second question quick question - do the numbers we're publishing look right compared to your internal ones? Appreciate non OpenJDK tests run by Oracle means that they cover more. </div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">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 class=""><br>
On 19/01/2015 10:55, Martijn Verburg wrote:<br>
</span><div><div class="h5"><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/<u></u>workspace/jdk9/<br>
export JTREG_INSTALL=/home/joliver/<u></u>workspace/jtreg<br>
export JT_HOME=$JTREG_INSTALL<br>
export JTREG_HOME=$JTREG_INSTALL<br>
export PRODUCT_HOME=$SOURCE_CODE/<u></u>build/linux-x86_64-normal-<u></u>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/<u></u>workspace/jdk9/<br>
<br>
JTREG_TEST_OPTIONS += -jcov/classes:$(jdkroot)/<u></u>build/linux-x86_64-normal-<u></u>server-release/jdk/modules/<u></u>java.base<br>
JTREG_TEST_OPTIONS += -jcov/source:$(jdkroot)/jdk/<u></u>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 class="im HOEnZb"><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 class="HOEnZb"><div class="h5">
-- <br>
Rgds,Rory O'Donnell<br>
Quality Engineering Manager<br>
Oracle EMEA , Dublin, Ireland<br>
<br>
</div></div></blockquote></div><br></div>