TT#111150 Prepare abi-check for SOVERSION bump

When we bump the SOVERSION we should skip doing the API/ABI checks, as
this is going to be by definition at least an ABI incompatible change.

Change-Id: Iaa5c77a4eece4166b47cf12399fb80f5a1299ee7
coverity_scan
Guillem Jover 4 years ago
parent 8d9d957721
commit c624c61c74

@ -43,6 +43,15 @@ cp -r "${source_path}"/.git "${CHECK_DIR}/source.$new_version_norm"
mkdir -p lib
make
)
old_soversion="$(grep VERSION= "${CHECK_DIR}/source.$old_version_norm/Makefile")"
new_soversion="$(grep VERSION= "${CHECK_DIR}/source.$new_version_norm/Makefile")"
if [ "${old_soversion}" != "${new_soversion}" ]; then
echo "The SOVERSION is different, skipping API/ABI tests."
exit 0
fi
# generate config files
cat > "${CHECK_DIR}/${old_version_norm}.xml" << EOF
<version>

Loading…
Cancel
Save