...
 
Commits (1)
  • Jeremy Bicha's avatar
    Add autopilot autopkgtest · d37b5ece
    Jeremy Bicha authored
    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.
    d37b5ece
#!/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