Skip to content

Commit

Permalink
Merge pull request #214 from Yay295/common_test_script
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Sep 23, 2024
2 parents ec1fef0 + 75a5f8b commit 4291b70
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 27 deletions.
3 changes: 1 addition & 2 deletions alpine/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ source /vpy3/bin/activate
cd /Pillow
make clean
LIBRARY_PATH=/lib:/usr/lib make install-coverage
python3 -c "from PIL import Image"
pytest -vx --cov PIL --cov-report term Tests
.ci/test.sh
3 changes: 1 addition & 2 deletions amazon-2-amd64/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export DISPLAY=:99.0
export LD_LIBRARY_PATH=/usr/lib
make clean
make install-coverage
python3 -c "from PIL import Image"
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
3 changes: 1 addition & 2 deletions amazon-2023-amd64/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export DISPLAY=:99.0
export LD_LIBRARY_PATH=/usr/lib
make clean
make install-coverage
python3 -c "from PIL import Image"
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
3 changes: 1 addition & 2 deletions arch/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ source /vpy3/bin/activate
cd /Pillow
make clean
make install-coverage
python3 -c "from PIL import Image"
QT_QPA_PLATFORM=offscreen /usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
QT_QPA_PLATFORM=offscreen /usr/bin/xvfb-run -a .ci/test.sh
3 changes: 1 addition & 2 deletions centos-stream-9-amd64/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ cd /Pillow
export DISPLAY=:99.0
make clean
make install-coverage
python3 -c "from PIL import Image"
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
3 changes: 1 addition & 2 deletions debian-12-bookworm-amd64/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ cd /Pillow
export DISPLAY=:99.0
make clean
make install-coverage
python3 -c "from PIL import Image"
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
3 changes: 1 addition & 2 deletions debian-12-bookworm-x86/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ cd /Pillow
export DISPLAY=:99.0
make clean
make install-coverage
python3 -c "from PIL import Image"
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
3 changes: 1 addition & 2 deletions fedora-39-amd64/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ source /vpy3/bin/activate
cd /Pillow
make clean
make install-coverage
python3 -c "from PIL import Image"
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
3 changes: 1 addition & 2 deletions fedora-40-amd64/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ source /vpy3/bin/activate
cd /Pillow
make clean
make install-coverage
python3 -c "from PIL import Image"
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
3 changes: 1 addition & 2 deletions gentoo/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ source /vpy3/bin/activate
cd /Pillow
make clean
make install-coverage
python3 -c "from PIL import Image"
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
3 changes: 1 addition & 2 deletions ubuntu-22.04-jammy-amd64/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ source /vpy3/bin/activate
cd /Pillow
make clean
make install-coverage
python3 -c "from PIL import Image"
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
2 changes: 1 addition & 1 deletion ubuntu-22.04-jammy-arm64v8/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ source /vpy3/bin/activate
cd /Pillow
make clean
make install-coverage
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
3 changes: 1 addition & 2 deletions ubuntu-24.04-noble-amd64/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ source /vpy3/bin/activate
cd /Pillow
make clean
make install-coverage
python3 -c "from PIL import Image"
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
2 changes: 1 addition & 1 deletion ubuntu-24.04-noble-ppc64le/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ source /vpy3/bin/activate
cd /Pillow
make clean
make install-coverage
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh
2 changes: 1 addition & 1 deletion ubuntu-24.04-noble-s390x/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ source /vpy3/bin/activate
cd /Pillow
make clean
make install-coverage
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests
/usr/bin/xvfb-run -a .ci/test.sh

0 comments on commit 4291b70

Please sign in to comment.