summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:06:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:06:13 +0000
commitc9ed44f7d684ac369bf46e2c97345ec2a8867555 (patch)
tree1713afaaa54db201f53343f08c67ffd421969e17 /debian/tests
parentAdding upstream version 3.1.2. (diff)
downloadjinja2-c9ed44f7d684ac369bf46e2c97345ec2a8867555.tar.xz
jinja2-c9ed44f7d684ac369bf46e2c97345ec2a8867555.zip
Adding debian version 3.1.2-1.debian/3.1.2-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control4
-rw-r--r--debian/tests/unittests10
2 files changed, 14 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..9f5e81a
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Tests: unittests
+Depends:
+ @builddeps@,
+Restrictions: allow-stderr
diff --git a/debian/tests/unittests b/debian/tests/unittests
new file mode 100644
index 0000000..a4c6cc7
--- /dev/null
+++ b/debian/tests/unittests
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+set -x
+
+CWD=$(pwd)
+PYTHON3S=$(py3versions -vs)
+for i in ${PYTHON3S} ; do
+ PYTHON=python${i} python${i} -m pytest -v tests
+done