aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-keyboard-test.in
blob: 8c20f6bf5ba2dcc19657d52563062cc072a972e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

export PATH="@abs_top_builddir@/tests/execute:$PATH"
export DCONF_PROFILE="@abs_top_builddir@/tests/profiles/indicator-keyboard-test"
export GSETTINGS_SCHEMA_DIR="@abs_top_builddir@/data"
export XDG_RUNTIME_DIR="@abs_top_builddir@/tests"
export GTK_IM_MODULE="ibus"
export GDK_BACKEND="x11"

if xvfb-run -a ./indicator-keyboard-tests
then
  pkill -f tests/gvfs || exit 0
else
  pkill -f tests/gvfs && exit 1
fi