summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 11:33:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 11:33:32 +0000
commit0c4233495b50e3b2e7a423edaf334b0116e2901d (patch)
treeb6d4fe7d612d9cab9538f2fe4bad5d20984a44e9 /debian/tests
parentAdding upstream version 2.14.0+dfsg. (diff)
downloadpygments-0c4233495b50e3b2e7a423edaf334b0116e2901d.tar.xz
pygments-0c4233495b50e3b2e7a423edaf334b0116e2901d.zip
Adding debian version 2.14.0+dfsg-1.debian/2.14.0+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control7
-rwxr-xr-xdebian/tests/python3-pygments10
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..2ae49d9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,7 @@
+Tests: python3-pygments
+Depends:
+ python3-all,
+ python3-lxml,
+ python3-pygments,
+ python3-pytest,
+ python3-wcag-contrast-ratio,
diff --git a/debian/tests/python3-pygments b/debian/tests/python3-pygments
new file mode 100755
index 0000000..7de838ea
--- /dev/null
+++ b/debian/tests/python3-pygments
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -eu
+
+cp -r tests "$AUTOPKGTEST_TMP"
+cd "$AUTOPKGTEST_TMP/tests"
+
+for python in $(py3versions -s); do
+ $python -m pytest -v -k 'not test_chooses_correct_lexer_for_example_files and not test_guess_lexer_singularity and not test_guess_lexer_forth and not test_guess_lexer_modula2 and not test_guess_lexer_unicon and not test_guess_lexer_ezhil and not test_guess_lexer_gdscript and not test_guess_lexer_gap and not test_guess_lexer_easytrieve and not test_guess_lexer_jcl and not test_guess_lexer_rexx'
+done