Christine Poerschke created SOLR-10535:
------------------------------------------
Summary: 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
Priority: Minor
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: [email protected]
For additional commands, e-mail: [email protected]