3 SCRIPT
=$
(realpath
"$0")
4 SCRIPTPATH
=$
(dirname "$SCRIPT")
5 PATHS
="$(find $SCRIPTPATH/.. \( -wholename '*/qa/*/testdocuments' -o -wholename '*/qa/*/testdocuments/*' -o -wholename '*/qa/*/data' -o -wholename '*/qa/*/data/*' \) -type d )"
9 # Ignore pass/fail/indeterminate folders, functions test in sc, workdir folder and xml in sd
10 if [[ "$path" != */pass
* ]] && [[ "$path" != */fail
* ]] && [[ "$path" != */indeterminate
* ]] \
11 && [[ "$path" != */functions
* ]] && [[ "$path" != */workdir
* ]] && [[ "$path" != */xml
* ]]; then
16 if ! git
grep -q "$file"; then
17 echo "WARNING: $i is not used, write a testcase for it!"
24 # vi:set shiftwidth=4 expandtab: