diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /sw/qa/extras/find-unused-data.sh | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sw/qa/extras/find-unused-data.sh')
-rwxr-xr-x | sw/qa/extras/find-unused-data.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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: |