mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-18 21:37:41 -04:00
ci: use ASan/UBsan in bluetooth tests
Compile with sanitizers for the bluetooth tests, for better backtraces on failures. Also produce backtraces via gdb.
This commit is contained in:
parent
ef35aa161b
commit
db5cb6515a
3 changed files with 34 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ fi
|
|||
git clone --depth 1 --revision "$BLUEZ_COMMIT" https://github.com/bluez/bluez.git /bluez-build
|
||||
cd /bluez-build
|
||||
./bootstrap
|
||||
./configure --enable-tools --disable-obex
|
||||
./configure --enable-tools --disable-obex --enable-asan --enable-ubsan --enable-debug
|
||||
# shellcheck disable=SC2086
|
||||
make $COMPILE_ARGS
|
||||
cd /
|
||||
|
|
@ -26,7 +26,7 @@ cp /bluez-build/tools/btmgmt /bluez/tools/
|
|||
cp /bluez-build/src/bluetoothd /bluez/src/
|
||||
|
||||
cd /bluez
|
||||
python3 -m pip wheel --no-deps "pytest-bluezenv==$PYTEST_BLUEZENV_VERSION"
|
||||
python3 -m pip wheel --no-deps "$PYTEST_BLUEZENV_VERSION"
|
||||
curl -L "$BZIMAGE_URL" -o bzImage
|
||||
cd /
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue