25 lines
647 B
Bash
Executable File
25 lines
647 B
Bash
Executable File
#!/bin/sh
|
|
# autopkgtest check: Run the installed-tests to verify GTK works correctly
|
|
# Based on glib2.0's d/tests/installed-tests, (C) 2013 Canonical Ltd.
|
|
|
|
set -e
|
|
|
|
# Disable gvfs if it happens to be installed. We want to test the built-in
|
|
# stuff
|
|
export GIO_USE_VFS=local
|
|
export GIO_USE_VOLUME_MONITOR=unix
|
|
|
|
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
|
|
|
|
tests=$(gnome-desktop-testing-runner -l gtk+ |
|
|
cut -f1 -d' ' |
|
|
grep -v '^gtk./a11ystate.test$' |
|
|
grep -v '^gtk./reftests')
|
|
|
|
exec dbus-run-session -- \
|
|
xvfb-run -a -s "-screen 0 1024x768x24" \
|
|
gnome-desktop-testing-runner \
|
|
--report-directory="$AUTOPKGTEST_ARTIFACTS" \
|
|
--tap \
|
|
$tests
|