]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Skip py.exe launcher tests in full layout CI test (GH-100948)
authorSteve Dower <steve.dower@python.org>
Wed, 11 Jan 2023 17:25:46 +0000 (17:25 +0000)
committerGitHub <noreply@github.com>
Wed, 11 Jan 2023 17:25:46 +0000 (17:25 +0000)
These tests become flaky when py.exe exists on the test machine but isn't the one that was just built. They also don't provide any useful information for this scenario, so easiest to just skip them.

.azure-pipelines/windows-layout-steps.yml

index e15729fac3443db1fb0c07c72d1e0f00af5f950d..afd897817904947f6eb16c452e784b60c1160013 100644 (file)
@@ -12,7 +12,7 @@ steps:
   displayName: Show layout info (${{ parameters.kind }})
 
 - ${{ if eq(parameters.fulltest, 'true') }}:
-  - script: .\python.exe -m test -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results-${{ parameters.kind }}.xml" --tempdir "$(Build.BinariesDirectory)\tmp-${{ parameters.kind }}-$(arch)"
+  - script: .\python.exe -m test -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results-${{ parameters.kind }}.xml" --tempdir "$(Build.BinariesDirectory)\tmp-${{ parameters.kind }}-$(arch)" -i test_launcher
     workingDirectory: $(Build.BinariesDirectory)\layout-${{ parameters.kind }}-$(arch)
     displayName: ${{ parameters.kind }} Tests
     env: