Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[3.6] Enable GUI tests in VSTS Linux builds via xvfb-run (GH-7890).
(cherry picked from commit 3f197f9)

Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
  • Loading branch information
zware committed Jun 24, 2018
commit a0fea534d9bae443df29bc4a481267b8ad633de1
3 changes: 2 additions & 1 deletion .vsts/linux-buildbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ steps:
liblzma-dev
libffi-dev
uuid-dev
xvfb
displayName: 'Install dependencies'

- script: ./configure --with-pydebug
Expand All @@ -60,5 +61,5 @@ steps:
- script: make pythoninfo
displayName: 'Display build info'

- script: make buildbottest TESTOPTS="-j4 -uall,-cpu"
- script: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu"
displayName: 'Tests'
3 changes: 2 additions & 1 deletion .vsts/linux-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ steps:
liblzma-dev
libffi-dev
uuid-dev
xvfb
displayName: 'Install dependencies'


Expand All @@ -63,7 +64,7 @@ steps:
- script: ./venv/bin/python -m test.pythoninfo
displayName: 'Display build info'

- script: ./venv/bin/python -m coverage run --pylib -m test -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures
- script: xvfb-run./venv/bin/python -m coverage run --pylib -m test -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures
displayName: 'Tests with coverage'

- script: source ./venv/bin/activate && bash <(curl -s https://codecov.io/bash)
Expand Down
1 change: 1 addition & 0 deletions .vsts/linux-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ steps:
liblzma-dev
libffi-dev
uuid-dev
xvfb
displayName: 'Install dependencies'
3 changes: 2 additions & 1 deletion .vsts/linux-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ steps:
liblzma-dev
libffi-dev
uuid-dev
xvfb
displayName: 'Install dependencies'


Expand All @@ -64,5 +65,5 @@ steps:
- script: ./python Tools/scripts/patchcheck.py --travis true
displayName: 'Run patchcheck.py'

- script: make buildbottest TESTOPTS="-j4 -uall,-cpu"
- script: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu"
displayName: 'Tests'