summaryrefslogtreecommitdiff
path: root/debian/tests/testsuite-dbg
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/testsuite-dbg')
-rwxr-xr-x[-rw-r--r--]debian/tests/testsuite-dbg32
1 files changed, 5 insertions, 27 deletions
diff --git a/debian/tests/testsuite-dbg b/debian/tests/testsuite-dbg
index 0cf994d..fce9eb9 100644..100755
--- a/debian/tests/testsuite-dbg
+++ b/debian/tests/testsuite-dbg
@@ -17,43 +17,21 @@ if [ "$(whoami)" = root ]; then
fi
tmphome=$ADTTMP/home
-mkdir -p $tmphome/.local/lib/python3.6/site-packages
+mkdir -p $tmphome/.local/lib/python3.7/site-packages
if [ -n "$su_user" ]; then
chmod -R go+rx $ADTTMP
chown -R $su_user:nogroup $tmphome
fi
ls -la $ADTTMP
-# no root access needed after this point
-
debian_dir=$(dirname $(dirname $0))
-export LOCPATH=$(pwd)/locales
-sh $debian_dir/locale-gen
-
-export LANG=C
+# no root access needed after this point
-TESTPYTHON="python3.6dm -W default -bb -E -R -m test"
-TESTOPTS="-j 1 -w -uall,-network,-urlfetch,-gui"
+TESTPYTHON="python3.7dm -W default -bb -E -R -m test"
TESTEXCLUSIONS="-x"
-# test_code_module: http://bugs.python.org/issue25109
-TESTEXCLUSIONS="$TESTEXCLUSIONS test_code_module"
-
-# test_dbm: Fails from time to time ...
-TESTEXCLUSIONS="$TESTEXCLUSIONS test_dbm"
-
-# test_ensurepip: not yet installed, http://bugs.debian.org/732703
-# ... and then test_venv fails too
-TESTEXCLUSIONS="$TESTEXCLUSIONS test_ensurepip test_venv "
-
-# test_site: Investigate why this fails ... our package has one sitedir less
-TESTEXCLUSIONS="$TESTEXCLUSIONS test_site"
-
-# test_zipfile: Issue 17753, requires write access to test and email.test
-TESTEXCLUSIONS="$TESTEXCLUSIONS test_zipfile"
-
-TESTEXCLUSIONS="$TESTEXCLUSIONS test_socket"
+. $debian_dir/tests/test-common.sh
if [ "$su_user" = nobody ]; then
log=/dev/null
@@ -67,7 +45,7 @@ EXTRAENV="env -u https_proxy -u http_proxy -u no_proxy HOME=$tmphome"
script=$debian_dir/script.py
if [ -f "$script" ]; then
- cmd="$EXTRAENV python3.6 $script \"$log\" \"$TESTPYTHON $TESTOPTS $TESTEXCLUSIONS\""
+ cmd="$EXTRAENV python3.7 $script \"$log\" \"$TESTPYTHON $TESTOPTS $TESTEXCLUSIONS\""
else
cmd="$EXTRAENV $TESTPYTHON $TESTOPTS $TESTEXCLUSIONS"
fi