diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:25:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:25:44 +0000 |
commit | e20628db512128d3a5c66360943462b83da5f049 (patch) | |
tree | d0c586bb2b3ce26a240c5fb0765982ce87d53816 /debian/tests/sphinx-doc | |
parent | Adding upstream version 7.2.6. (diff) | |
download | sphinx-e20628db512128d3a5c66360943462b83da5f049.tar.xz sphinx-e20628db512128d3a5c66360943462b83da5f049.zip |
Adding debian version 7.2.6-6.debian/7.2.6-6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/sphinx-doc')
-rw-r--r-- | debian/tests/sphinx-doc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/tests/sphinx-doc b/debian/tests/sphinx-doc new file mode 100644 index 0000000..e86b74d --- /dev/null +++ b/debian/tests/sphinx-doc @@ -0,0 +1,18 @@ +#!/bin/sh +set -e -u + +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 |