diff options
Diffstat (limited to 'debian/tests')
-rw-r--r-- | debian/tests/control | 7 | ||||
-rwxr-xr-x | debian/tests/python3-pygments | 10 |
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 |