office-gobmx/sw/qa/extras/find-unused-data.sh
Miklos Vajna ef68c2b97d sw/qa: add new script to make sure all files are tested
When some import filter fix arrives in, and the submitter submits a test
file, but doesn't provide a matching testcase, we accept the patch, as
it's better than nothing. This script will search for such files,
providing kind of a TODO list for what testcases have to be implemented.

Change-Id: I713fe2f0aef4cbca66ba913baf54b7bd28ba2471
2013-04-12 07:40:24 +02:00

11 lines
202 B
Bash
Executable file

#!/bin/bash
for i in */data/*
do
file=$(basename $i)
if ! git grep -q $file; then
echo "WARNING: $i is not used, write a testcase for it!"
fi
done
# vi:set shiftwidth=4 expandtab: