You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/05/09 17:54:04 UTC
[jira] [Commented] (SOLR-10535) identify and remove unused test
files
[ https://issues.apache.org/jira/browse/SOLR-10535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16003167#comment-16003167 ]
ASF subversion and git services commented on SOLR-10535:
--------------------------------------------------------
Commit dea4a7981a9ed3b268ef0d5ce8208ff5a1392256 in lucene-solr's branch refs/heads/master from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=dea4a79 ]
SOLR-10535: remove six unused test files
(Jason Gerlowski via Christine Poerschke)
> identify and remove unused test files
> -------------------------------------
>
> Key: SOLR-10535
> URL: https://issues.apache.org/jira/browse/SOLR-10535
> Project: Solr
> Issue Type: Task
> Reporter: Christine Poerschke
> Assignee: Christine Poerschke
> Priority: Minor
> Attachments: SOLR-10535.patch
>
>
> It appears that a number of test files are unused and hence could/should be removed.
> Step 1:
> * identify potentially unused files e.g.
> {code}
> for ff in `find ./solr/core/src/test-files -name "*.xml"`
> do
> file=`basename $ff`
> git grep -l $file >/dev/null
> rcode=$?
> if [[ $rcode -ne 0 ]]
> then
> echo $ff
> fi
> done
> {code}
> Step 2:
> * remove the files concerned
> * run {{ant test}} to check if tests still pass
> * create patch or pull request
> Step 3:
> * optionally share any scripts or commands used in steps 1 and 2
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org