diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2018-06-24 15:20:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-24 15:20:34 (GMT) |
commit | 3f197f94d67be25d5489e14f2f06b4a00e818747 (patch) | |
tree | 9707f49e12220a4afad05852b3c5a771950193b1 | |
parent | ea737751b10fff752aafed0231e8a02b82ba365d (diff) | |
download | cpython-3f197f94d67be25d5489e14f2f06b4a00e818747.zip cpython-3f197f94d67be25d5489e14f2f06b4a00e818747.tar.gz cpython-3f197f94d67be25d5489e14f2f06b4a00e818747.tar.bz2 |
Enable GUI tests in VSTS Linux builds via xvfb-run (GH-7890)
-rw-r--r-- | .vsts/linux-buildbot.yml | 3 | ||||
-rw-r--r-- | .vsts/linux-coverage.yml | 3 | ||||
-rw-r--r-- | .vsts/linux-deps.yml | 1 | ||||
-rw-r--r-- | .vsts/linux-pr.yml | 3 |
4 files changed, 7 insertions, 3 deletions
diff --git a/.vsts/linux-buildbot.yml b/.vsts/linux-buildbot.yml index d75d7f5..fc2c8ca 100644 --- a/.vsts/linux-buildbot.yml +++ b/.vsts/linux-buildbot.yml @@ -54,6 +54,7 @@ steps: liblzma-dev libffi-dev uuid-dev + xvfb displayName: 'Install dependencies' - script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux displayName: 'python multissltests.py' @@ -67,5 +68,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' diff --git a/.vsts/linux-coverage.yml b/.vsts/linux-coverage.yml index 3657b17..14e42fb 100644 --- a/.vsts/linux-coverage.yml +++ b/.vsts/linux-coverage.yml @@ -53,6 +53,7 @@ steps: liblzma-dev libffi-dev uuid-dev + xvfb displayName: 'Install dependencies' - script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux displayName: 'python multissltests.py' @@ -70,7 +71,7 @@ steps: - script: ./venv/bin/python -m test.pythoninfo displayName: 'Display build info' -- script: ./venv/bin/python -m coverage run --pylib -m test --fail-env-changed -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 --fail-env-changed -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) diff --git a/.vsts/linux-deps.yml b/.vsts/linux-deps.yml index b6c8a36..83b0b59 100644 --- a/.vsts/linux-deps.yml +++ b/.vsts/linux-deps.yml @@ -31,6 +31,7 @@ steps: liblzma-dev libffi-dev uuid-dev + xvfb displayName: 'Install dependencies' - script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux displayName: 'python multissltests.py' diff --git a/.vsts/linux-pr.yml b/.vsts/linux-pr.yml index 7f4d458..80e4284 100644 --- a/.vsts/linux-pr.yml +++ b/.vsts/linux-pr.yml @@ -53,6 +53,7 @@ steps: liblzma-dev libffi-dev uuid-dev + xvfb displayName: 'Install dependencies' - script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux displayName: 'python multissltests.py' @@ -71,5 +72,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' |