summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2020-03-31 10:06:32 -0700
committerAdam Hupp <adam@hupp.org>2020-03-31 10:06:32 -0700
commitfd058e28873eafe6626f4b819679098f9def217d (patch)
tree99246fd58655b695f50d513a79dee45247ae5d85 /test
parentcb754dd2cb2a68b59644a95b860629156606363d (diff)
downloadpython-magic-fd058e28873eafe6626f4b819679098f9def217d.tar.gz
Add script to drive linux docker tests now that it supports WSL2, and fix focal dockerfile
Diffstat (limited to 'test')
-rwxr-xr-xtest/Dockerfile_focal2
-rwxr-xr-xtest/run.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Dockerfile_focal b/test/Dockerfile_focal
index c9e4049..61f6745 100755
--- a/test/Dockerfile_focal
+++ b/test/Dockerfile_focal
@@ -1,6 +1,6 @@
FROM ubuntu:focal
RUN apt-get update
-RUN apt-get -y install python
+RUN apt-get -y install python2
RUN apt-get -y install python3
RUN apt-get -y install locales
RUN locale-gen en_US.UTF-8
diff --git a/test/run.sh b/test/run.sh
index 04c77b9..9676ee2 100755
--- a/test/run.sh
+++ b/test/run.sh
@@ -6,7 +6,7 @@ export LC_ALL=en_US.UTF-8
THISDIR=`dirname $0`
export PYTHONPATH=${THISDIR}/..
-PYTHONS="python2.7 python3.5 python3.6 python3.7"
+PYTHONS="python2.7 python3.5 python3.6 python3.7 python3.8 python"
for pyver in $PYTHONS; do
if which $pyver > /dev/null; then