From 940b4d1848e8c70ab7642901a68594e8016caffc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:51:28 +0200 Subject: Adding upstream version 1:7.0.4. Signed-off-by: Daniel Baumann --- sw/qa/extras/find-unused-data.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 sw/qa/extras/find-unused-data.sh (limited to 'sw/qa/extras/find-unused-data.sh') diff --git a/sw/qa/extras/find-unused-data.sh b/sw/qa/extras/find-unused-data.sh new file mode 100755 index 000000000..17b5678be --- /dev/null +++ b/sw/qa/extras/find-unused-data.sh @@ -0,0 +1,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: -- cgit v1.2.3