aboutsummaryrefslogtreecommitdiffstats
path: root/coverity/prepare_source_Osmocom.sh
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-07-04 15:42:01 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-07-04 15:42:11 +0700
commit82265bc46df2f5c54be71274330e43664cf6c7fc (patch)
treedd11ebeaa19679f0a313a5d147c75fb82780b482 /coverity/prepare_source_Osmocom.sh
parentaaeab8c976a478309477e4200c1aef51407f6152 (diff)
fixup: coverity: compile tests, but not execute them
Diffstat (limited to 'coverity/prepare_source_Osmocom.sh')
-rwxr-xr-xcoverity/prepare_source_Osmocom.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/coverity/prepare_source_Osmocom.sh b/coverity/prepare_source_Osmocom.sh
index 22d72e7..ba5f13a 100755
--- a/coverity/prepare_source_Osmocom.sh
+++ b/coverity/prepare_source_Osmocom.sh
@@ -52,7 +52,9 @@ for proj in \
# instead of 'check_PROGRAMS' allows building test binaries during 'make all'.
files="$(git -C $proj grep -l check_PROGRAMS)"
if [ -n "$files" ]; then
+ pushd $proj
sed -i "s/check_PROGRAMS/noinst_PROGRAMS/" $files
+ popd
fi
done