path: root/sw/qa/extras/
diff options
authorMiklos Vajna <>2013-04-11 13:17:06 +0200
committerMiklos Vajna <>2013-04-12 07:40:24 +0200
commitef68c2b97de163d1fd3a960675addc1eb3d4bc6f (patch)
treee21cf3580be6b65c9477433d0dc871e2f5c16ceb /sw/qa/extras/
parente7111979c6ca1d935662fa13f603847967c5562f (diff)
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
Diffstat (limited to 'sw/qa/extras/')
1 files changed, 11 insertions, 0 deletions
diff --git a/sw/qa/extras/ b/sw/qa/extras/
new file mode 100755
index 000000000000..9f4496871875
--- /dev/null
+++ b/sw/qa/extras/
@@ -0,0 +1,11 @@
+for i in */data/*
+ file=$(basename $i)
+ if ! git grep -q $file; then
+ echo "WARNING: $i is not used, write a testcase for it!"
+ fi
+# vi:set shiftwidth=4 expandtab: