[ 
https://issues.apache.org/jira/browse/LUCENE-4332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443489#comment-13443489
 ] 

Dawid Weiss commented on LUCENE-4332:
-------------------------------------

bq. OK, cool: its something we never did before that I always thought should be 
done...

Yes, I checked. Don't let this confuse you:
{code}
<junit4:junit4
            dir="@{tempDir}"
            tempdir="@{tempDir}" 
{code}

the "tempdir" is a temporary folder for all the extra files the runner needs 
(spills, event files, etc.), forked JVMs get their own subfolder. See the 
"isolateWorkingDirectories" parameter here; it's true by default so omitted:

http://labs.carrotsearch.com/download/randomizedtesting/2.0.0-SNAPSHOT/docs/junit4-ant/Tasks/junit4.html

I looked at the common-build.xml file though and I see only this:
{code}
            <!-- Temporary directory in the cwd. -->
            <sysproperty key="tempDir" value="."/> 
{code}

I was wrong then, the default 'java.io.tmpdir' is not overriden here and I 
think it should. I wrote a small test asking for a File.createTempFile and it 
did use a global temp (not good).

                
> Integrate PiTest mutation coverage tool into build
> --------------------------------------------------
>
>                 Key: LUCENE-4332
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4332
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 4.1, 5.0
>            Reporter: Greg Bowyer
>            Assignee: Greg Bowyer
>              Labels: build
>         Attachments: 
> LUCENE-4332-Integrate-PiTest-mutation-coverage-tool-into-build.patch, 
> LUCENE-4332-Integrate-PiTest-mutation-coverage-tool-into-build.patch
>
>
> As discussed briefly on the mailing list, this patch is an attempt to 
> integrate the PiTest mutation coverage tool into the lucene build

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to