]> git.ipfire.org Git - thirdparty/dbus.git/commit
Rename "embedded tests" to "intrusive tests"
authorSimon McVittie <smcv@collabora.com>
Mon, 9 Dec 2024 17:45:32 +0000 (17:45 +0000)
committerSimon McVittie <smcv@collabora.com>
Tue, 10 Dec 2024 15:43:31 +0000 (15:43 +0000)
commit53bcfe2de12ec8536a457f83104f11269d7c0e7c
treeecdca860709212bc5f70f1eb7087884ffac4ce76
parentd440173062dd866e5509d218fbe0b79bd39f4979
Rename "embedded tests" to "intrusive tests"

This hopefully helps to get across the point that enabling these tests
adds instrumentation to libdbus and dbus-daemon, with a potentially
significant impact on code size, performance and security.

To avoid a huge diffstat which would be difficult to review, the cpp
macro that is checked by most of the C code is still
DBUS_ENABLE_EMBEDDED_TESTS, which is defined or undefined under exactly
the same conditions as the new DBUS_ENABLE_INTRUSIVE_TESTS.

Resolves: https://gitlab.freedesktop.org/dbus/dbus/-/issues/537
Co-authored-by: Philip Withnall <philip@tecnocode.co.uk>
Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit 9c5b5838f5ff667225a913f97006816e3e401d55)
12 files changed:
CMakeLists.txt
cmake/config.h.cmake
dbus/CMakeLists.txt
dbus/dbus-macros-internal.h
dbus/meson.build
meson.build
meson_options.txt
test/CMakeLists.txt
test/meson.build
test/name-test/meson.build
test/use-as-subproject/meson.build
tools/ci-build.sh