From 01997497f915e8f79871f3f2acb55ac465051d24 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:49:59 +0200 Subject: Adding debian version 6.1.76-1. Signed-off-by: Daniel Baumann --- debian/tests/python | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 debian/tests/python (limited to 'debian/tests/python') diff --git a/debian/tests/python b/debian/tests/python new file mode 100755 index 000000000..afd36de97 --- /dev/null +++ b/debian/tests/python @@ -0,0 +1,11 @@ +#!/bin/bash -eu + +# autopkgtest checks for a non-zero exit code *or* any output to +# stderr. So we should continue after a failure, but make sure +# something is written to stderr. + +echo "I: Running debian_linux.debian unit tests..." +# unittest only writes to stderr +if ! PYTHONPATH=debian/lib/python python3 -m debian_linux.debian 2>&1; then + echo >&2 "E: some unit tests failed" +fi -- cgit v1.2.3