summaryrefslogtreecommitdiff
path: root/test/test-utils.h
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2020-04-16 14:15:18 +0100
committerSimon McVittie <smcv@collabora.com>2020-04-20 10:13:04 +0100
commitfcbb5e658604a9501fe408aa8d2a7a753032f992 (patch)
treef7363a435d2f2fc9eb3c0ba9322b76ce2d99c020 /test/test-utils.h
parentc46e002fe60a0b57a275463f2e42f4fad239d10e (diff)
downloaddbus-fcbb5e658604a9501fe408aa8d2a7a753032f992.tar.gz
test: Move TAP helpers into dbus-testutils if embedded tests are disabled
This lets us run a subset of the tests that previously relied on extra test-only code being compiled into libdbus. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'test/test-utils.h')
-rw-r--r--test/test-utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-utils.h b/test/test-utils.h
index eb0d9e24..b6a150f3 100644
--- a/test/test-utils.h
+++ b/test/test-utils.h
@@ -38,6 +38,8 @@
#include <dbus/dbus-internals.h>
#include <dbus/dbus-types.h>
+#include "dbus/dbus-test-tap.h"
+
typedef DBusLoop TestMainContext;
_DBUS_WARN_UNUSED_RESULT