]> git.lttng.org Git - lttng-ci.git/commitdiff
jjb: Remove abidiff from lttng-tools build
authorKienan Stewart <kstewart@efficios.com>
Fri, 17 Jan 2025 19:56:45 +0000 (14:56 -0500)
committerKienan Stewart <kstewart@efficios.com>
Mon, 20 Jan 2025 17:35:55 +0000 (12:35 -0500)
This check will be transformed into an in-tree test.

Change-Id: If102abe7b5c26aa4976de8ae36eaa48f0103357a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
scripts/lttng-tools/build.sh

index 3d7ff27d51eb387fa7cccd6d12d28ca44c708c1b..db52cd256ce889b5a519a8611c3a84003546bdec 100755 (executable)
@@ -532,35 +532,6 @@ if [ "$LTTNG_TOOLS_CLANG_TIDY" = "yes" ]; then
     fi
 fi
 
-set +e
-ABIDW="$(command -v abidw)"
-set -e
-if [[ -n "${ABIDW}" ]] && [[ -f "src/lib/lttng-ctl/.libs/liblttng-ctl.so" ]] && [[ -f "src/lib/lttng-ctl/abi_ref/0.0.0/abi.xml" ]]; then
-    print_header "liblttng-ctl ABI diff"
-    ABI_XML=$(mktemp)
-    abidw --drop-undefined-syms --drop-private-types --headers-dir include/ src/lib/lttng-ctl/.libs/liblttng-ctl.so > "${ABI_XML}"
-
-    set +e
-    output="$(abidiff src/lib/lttng-ctl/abi_ref/0.0.0/abi.xml "${ABI_XML}")"
-    ret=$?
-    set -e
-    if [[ $((ret & 8)) == 8 ]]; then
-        echo "Breaking changes detected"
-        exit_status=1
-    elif [[ $((ret & 4)) == 4 ]]; then
-        echo "ABI changes detected"
-    elif [[ $ret == 0 ]]; then
-        echo "No ABI changes detected"
-    else
-        echo "Error running abidiff"
-        exit_status=1
-    fi
-
-    mkdir -p "${WORKSPACE}/log"
-    echo "${output}" | tee "${WORKSPACE}/log/abi.diff"
-    rm -rf "${ABI_XML}"
-fi
-
 # Run tests for all configs except 'no-ust' / 'relayd-only'
 if [ "$LTTNG_TOOLS_RUN_TESTS" = "yes" ] && [[ ! "$conf" =~ (no-ust|relayd-only) ]]; then
     print_header "Run test suite"
This page took 0.026703 seconds and 4 git commands to generate.