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

Hoss Man commented on LUCENE-5283:
----------------------------------

Something seems to have gone wonky with running a single test from the top 
level...

{noformat}
hossman@frisbee:~/lucene/4x_dev$ ant clean ; ant -Dtestcase=AddBlockUpdateTest 
test ; find -name TEST-\*.xml
...
BUILD FAILED
/home/hossman/lucene/4x_dev/build.xml:39: The following error occurred while 
executing this line:
/home/hossman/lucene/4x_dev/lucene/common-build.xml:1281: Not even a single 
test was executed (a typo in the filter pattern maybe)?

Total time: 46 seconds
hossman@frisbee:~/lucene/4x_dev$
{noformat}

Compare that with...

{noformat}
hossman@frisbee:~/lucene/4x_dev$ cd solr ; ant clean ; ant 
-Dtestcase=AddBlockUpdateTest test ; find -name TEST-\*.xml
...
BUILD SUCCESSFUL
Total time: 53 seconds
./build/solr-core/test/TEST-org.apache.solr.update.AddBlockUpdateTest.xml
hossman@frisbee:~/lucene/4x_dev/solr$
{noformat}


> Fail the build if ant test didn't execute any tests (everything filtered out).
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-5283
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5283
>             Project: Lucene - Core
>          Issue Type: Wish
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>             Fix For: 4.6, 5.0
>
>         Attachments: LUCENE-5283-permgen.patch, LUCENE-5283.patch, 
> LUCENE-5283.patch, LUCENE-5283.patch
>
>
> This should be an optional setting that defaults to 'false' (the build 
> proceeds).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to