aboutsummaryrefslogtreecommitdiff
path: root/debian/tests/run-test
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/run-test')
-rwxr-xr-xdebian/tests/run-test9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/tests/run-test b/debian/tests/run-test
new file mode 100755
index 0000000..b0fb0f7
--- /dev/null
+++ b/debian/tests/run-test
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+# clean up old crash reports
+rm -rf /var/crash/* 2>&1 || true
+
+# succeeding test must not write anything to stderr, as per DEP-8
+# work around LP #972324
+env -u TMPDIR xvfb-run python3 setup.py test 2>&1