From ab1b9913c0b85e061c666d35741fbccb6f1d07d8 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Fri, 25 Mar 2022 09:36:09 +0100 Subject: [PATCH] Add autopkgtest. --- debian/changelog | 1 + debian/tests/control | 5 +++++ debian/tests/unittests | 5 +++++ 3 files changed, 11 insertions(+) create mode 100644 debian/tests/control create mode 100644 debian/tests/unittests diff --git a/debian/changelog b/debian/changelog index 9604803..d134e98 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ python-oslo.versionedobjects (2.6.0-2) unstable; urgency=medium * Uploading to unstable. + * Add autopkgtest. -- Thomas Goirand Fri, 25 Mar 2022 09:34:53 +0100 diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..a215d63 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,5 @@ +Tests: unittests +Depends: + @, + @builddeps@, +Restrictions: allow-stderr needs-root diff --git a/debian/tests/unittests b/debian/tests/unittests new file mode 100644 index 0000000..caf5873 --- /dev/null +++ b/debian/tests/unittests @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +pkgos-dh_auto_test --no-py2 'oslo_versionedobjects\.tests.*' -- GitLab