summaryrefslogtreecommitdiffstats
path: root/sw/qa/extras/find-unused-data.sh
blob: 17b5678bece42bf2fef83bf4c290a03095665b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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: