#!/bin/sh set -e -u export GTK_A11Y=none cp -r debian/jstest "$AUTOPKGTEST_TMP/" cd "$AUTOPKGTEST_TMP" for format in rst html do [ "$(readlink -f /usr/share/doc/python3-sphinx/$format)" = "$(readlink -f /usr/share/doc/sphinx-doc/$format)" ] done run_js_tests='jstest/run-tests /usr/share/doc/sphinx-doc/html/' if [ -n "${DISPLAY:-}" ] then $run_js_tests else xvfb-run -a $run_js_tests fi # vim:ts=4 sw=4 et