~ubuntu-branches/ubuntu/oneiric/dbus-glib/oneiric-updates

« back to all changes in this revision

Viewing changes to test/interfaces/run-test.sh

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-11-01 10:51:01 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061101105101-2dbr969h8k05n1b2
Tags: 0.72-0ubuntu1
* Sync with pkg-utopia SVN. This is infact 0.72-1 which sits in NEW
* New upstream release
* debian/control:
  + Require libdbus-1-dev (>= 0.94) and libglib2.0-dev (>= 2.6)
  + Add build dependency on gtk-doc-tools (>= 1.4)
* debian/control,
  debian/libdbus-glib-1-doc.install:
  + Add libdbus-glib-1-doc package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash
 
2
 
 
3
SCRIPTNAME=$0
 
4
MODE=$1
 
5
 
 
6
## so the tests can complain if you fail to use the script to launch them
 
7
export DBUS_TEST_GLIB_RUN_TEST_SCRIPT=1
 
8
 
 
9
export DBUS_TOP_SRCDIR=$(dirname "$0")/../..
 
10
 
 
11
# Rerun ourselves with tmp session bus if we're not already
 
12
if test -z "$DBUS_TEST_GLIB_IN_RUN_TEST"; then
 
13
  DBUS_TEST_GLIB_IN_RUN_TEST=1
 
14
  export DBUS_TEST_GLIB_IN_RUN_TEST
 
15
  exec $DBUS_TOP_SRCDIR/tools/run-with-tmp-session-bus.sh $SCRIPTNAME $MODE
 
16
fi  
 
17
 
 
18
echo "running test-client"
 
19
libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/test/interfaces/test-client || die "test-client failed"