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