~nskaggs/autopilot/increase-launch-timeout

« back to all changes in this revision

Viewing changes to debian/rules

Add the ability to take screenshots with a test run.
Automatically takes a screenshot on a failing test. Fixes: https://bugs.launchpad.net/bugs/1308762.

Approved by Thomi Richards, Max Brustkern, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
override_dh_auto_test:
21
21
ifeq (, $(findstring nocheck, $(DEB_BUILD_OPTIONS)))
22
22
        HOME=`mktemp -d --tmpdir=debian` \
 
23
        XDG_RUNTIME_DIR=`mktemp -d --tmpdir=debian` \
23
24
        python3 -m testtools.run discover autopilot.tests.unit
24
25
endif