mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 09:58:07 +02:00
Merge branch 'dbus-1.10'
This commit is contained in:
commit
2e8c59d9cc
4 changed files with 7 additions and 0 deletions
3
NEWS
3
NEWS
|
|
@ -38,6 +38,9 @@ Fixes:
|
|||
will no longer report that their arguments were invalid if they run out
|
||||
of memory at exactly the wrong time. (fd.o #101568, Simon McVittie)
|
||||
|
||||
• Ensure that tests fail if they would otherwise have tried to connect to
|
||||
the real session bus (fd.o #101698, Simon McVittie)
|
||||
|
||||
Internal changes relevant to dbus developers:
|
||||
|
||||
• DBusVariant is a new mechanism to copy single values from a message into
|
||||
|
|
|
|||
|
|
@ -236,6 +236,7 @@ installcheck_environment = \
|
|||
export XDG_DATA_HOME=@abs_top_builddir@/test/XDG_DATA_HOME; \
|
||||
export XDG_DATA_DIRS=@abs_top_builddir@/test/XDG_DATA_DIRS:$(DESTDIR)$(datadir); \
|
||||
export XDG_RUNTIME_DIR=@abs_top_builddir@/test/XDG_RUNTIME_DIR; \
|
||||
export DBUS_SESSION_BUS_ADDRESS=do-not-use-real-session:; \
|
||||
export DBUS_TEST_DAEMON=$(DESTDIR)$(DBUS_DAEMONDIR)/dbus-daemon$(EXEEXT); \
|
||||
export DBUS_TEST_DBUS_LAUNCH=$(DESTDIR)$(bindir)/dbus-launch$(EXEEXT); \
|
||||
export DBUS_TEST_DBUS_MONITOR=$(DESTDIR)$(bindir)/dbus-monitor$(EXEEXT); \
|
||||
|
|
@ -254,6 +255,7 @@ AM_TESTS_ENVIRONMENT = \
|
|||
export XDG_DATA_DIRS=@abs_top_builddir@/test/XDG_DATA_DIRS:@abs_top_builddir@/test/XDG_DATA_DIRS2; \
|
||||
export XDG_RUNTIME_DIR=@abs_top_builddir@/test/XDG_RUNTIME_DIR; \
|
||||
export DBUS_FATAL_WARNINGS=1; \
|
||||
export DBUS_SESSION_BUS_ADDRESS=do-not-use-real-session:; \
|
||||
export DBUS_TEST_BUILDDIR=@abs_builddir@; \
|
||||
export DBUS_TEST_SRCDIR=@abs_srcdir@; \
|
||||
export DBUS_TEST_DAEMON=@abs_top_builddir@/bus/dbus-daemon$(EXEEXT); \
|
||||
|
|
|
|||
|
|
@ -171,6 +171,7 @@ setup (Fixture *f,
|
|||
/* we're relying on being single-threaded for this to be safe */
|
||||
f->saved_runtime_dir = g_strdup (g_getenv ("XDG_RUNTIME_DIR"));
|
||||
g_setenv ("XDG_RUNTIME_DIR", f->tmp_runtime_dir, TRUE);
|
||||
g_unsetenv ("DBUS_SESSION_BUS_ADDRESS");
|
||||
}
|
||||
|
||||
f->address = test_get_dbus_daemon (config ? config->config_file : NULL,
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ TESTS =
|
|||
if DBUS_ENABLE_EMBEDDED_TESTS
|
||||
if DBUS_UNIX
|
||||
AM_TESTS_ENVIRONMENT = \
|
||||
export DBUS_SESSION_BUS_ADDRESS=do-not-use-real-session:; \
|
||||
export DBUS_TOP_BUILDDIR=@abs_top_builddir@; \
|
||||
export DBUS_TOP_SRCDIR=@abs_top_srcdir@; \
|
||||
export PATH="@abs_top_builddir@/bus:$$PATH"; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue