summaryrefslogtreecommitdiff
path: root/debian/tests/failing-tests
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-01 17:44:24 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-01 17:44:24 +0300
commitc089c4500b0b78acf03ee5405ad250a84b0dfa66 (patch)
tree23870848d194569aff6e0e4e41bc7907960b1af1 /debian/tests/failing-tests
parent377002e7300431b68f3548d9fd2c7f99cf883939 (diff)
downloadpython3.7-debian.tar.gz
Import python3.7 (3.7.5-2)debian/3.7.5-2debian
Diffstat (limited to 'debian/tests/failing-tests')
-rwxr-xr-x[-rw-r--r--]debian/tests/failing-tests32
1 files changed, 6 insertions, 26 deletions
diff --git a/debian/tests/failing-tests b/debian/tests/failing-tests
index 0272cc0..1ee6f38 100644..100755
--- a/debian/tests/failing-tests
+++ b/debian/tests/failing-tests
@@ -17,41 +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 go+rx $ADTTMP
chown $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
-
-TESTPYTHON="python3.6 -W default -bb -E -R -m test"
-TESTOPTS="-j 1 -w -uall,-network,-urlfetch,-gui"
-TESTEXCLUSIONS=
-
-# 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 "
+# no root access needed after this point
-# test_site: Investigate why this fails ... our package has one sitedir less
-TESTEXCLUSIONS="$TESTEXCLUSIONS test_site"
+TESTPYTHON="python3.7 -W default -bb -E -R -m test"
+TESTEXCLUSIONS=""
-# test_zipfile: Issue 17753, requires write access to test and email.test
-TESTEXCLUSIONS="$TESTEXCLUSIONS test_zipfile"
+. $debian_dir/tests/test-common.sh
if [ "$su_user" = nobody ]; then
log=/dev/null
@@ -64,7 +44,7 @@ echo "Running the failing tests with the standard interpreter:"
progressions=
for tst in $TESTEXCLUSIONS; do
if [ -f "$script" ]; then
- cmd="HOME=$tmphome python3.6 $script \"$log\" \"$TESTPYTHON $TESTOPTS $tst\""
+ cmd="HOME=$tmphome python3.7 $script \"$log\" \"$TESTPYTHON $TESTOPTS $tst\""
else
cmd="HOME=$tmphome $TESTPYTHON $TESTOPTS $tst"
fi