aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-keyboard-test.in
blob: 3d43d8ab821a65678da585458c02efe0b7c4d387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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"

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