summaryrefslogtreecommitdiffstats
path: root/debian/tests/control
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/control')
-rw-r--r--debian/tests/control22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..e3bde44
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,22 @@
+Tests: debconf
+Depends: python3, tzdata
+Restrictions: allow-stderr needs-root
+
+Tests: python
+Depends: python3 (>= 3.9), tzdata, tzdata-legacy
+Restrictions: allow-stderr
+
+Test-command: NO_LEGACY_TIMEZONES=1 debian/tests/python
+Depends: python3 (>= 3.9), tzdata
+Restrictions: allow-stderr
+Features: test-name=python_no_legacy
+
+Test-command: debian/test_timezone_conversions -d /var/lib/dpkg/info/
+Depends: python3, python3-debian, tzdata, tzdata-legacy
+Restrictions: allow-stderr superficial
+Features: test-name=test_timezone_conversions
+
+Test-command: debian/test_timezone_conversions -d /var/lib/dpkg/info/ --all-selectable
+Depends: python3, python3-debian, tzdata
+Restrictions: allow-stderr superficial
+Features: test-name=test_timezone_conversions_no_legacy