Commit d37b5ece authored by Jeremy Bicha's avatar Jeremy Bicha

Add autopilot autopkgtest

These tests were added in 29.1 but quickly disabled in Ubuntu version
29.1-0ubuntu3 because the tests didn't work in xvfb.

Since Debian never had an autopilot package, I'm committing this
test to a separate branch instead of the main repository in case
someone eventually wants to work on this again.
parent bde49699
#!/bin/sh
set -e
# start X
(Xvfb :5 >/dev/null 2>&1 &)
XVFB_PID=$!
export DISPLAY=:5
# start local session D-BUS
eval `dbus-launch`
trap "kill $DBUS_SESSION_BUS_PID $XVFB_PID" 0 TERM QUIT INT
export DBUS_SESSION_BUS_ADDRESS
export XAUTHORITY=/dev/null
# run tests
make -C obj-* autopilot-system
Tests: autopilot
Depends: @,
autopilot-desktop,
cmake,
dbus-x11,
gnome-control-center,
libautopilot-gtk,
python-evdev,
xvfb,
Restrictions: build-needed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment