libepc r251 - in trunk: . tests
- From: hasselmm svn gnome org
- To: svn-commits-list gnome org
- Subject: libepc r251 - in trunk: . tests
- Date: Wed, 22 Oct 2008 22:04:04 +0000 (UTC)
Author: hasselmm
Date: Wed Oct 22 22:04:04 2008
New Revision: 251
URL: http://svn.gnome.org/viewvc/libepc?rev=251&view=rev
Log:
Get default address of system DBus from pkg-config.
* tests/test-runner.sh: See above.
Modified:
trunk/ChangeLog
trunk/tests/test-runner.sh
Modified: trunk/tests/test-runner.sh
==============================================================================
--- trunk/tests/test-runner.sh (original)
+++ trunk/tests/test-runner.sh Wed Oct 22 22:04:04 2008
@@ -20,11 +20,13 @@
# Authors:
# Mathias Hasselmann
#
+
test -n "$EPC_DEBUG" && echo "$0: running $1..."
-EPC_DEBUG="${EPC_DEBUG:-1}" \
-G_DEBUG="${G_DEBUG:-fatal-warnings}" \
-DBUS_SYSTEM_BUS_ADDRESS="${DBUS_SYSTEM_BUS_ADDRESS:-unix:abstract=/var/run/dbus/system_bus_socket}" \
+default_system_bus_address=$(pkg-config dbus-1 --variable=system_bus_default_address)
+
+EPC_DEBUG="${EPC_DEBUG:-1}" G_DEBUG="${G_DEBUG:-fatal-warnings}" \
+DBUS_SYSTEM_BUS_ADDRESS="${DBUS_SYSTEM_BUS_ADDRESS:-${default_system_bus_address}}" \
"$@" 2> "$1.err" > "$1.out"
result=$?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]