#!/bin/bash
set -e

export XDG_RUNTIME_DIR=$ADTTMP
export LC_ALL=C

# dbus outputs activation messages to stderr which fails the test
dbus-run-session -- xvfb-run -a gnome-desktop-testing-runner graphene-1.0 2> >(grep -vE '^(Activating|Successfully activated)')>&2
