Skip to content

Commit 90af8ec

Browse files
committed
Re-enable tests to test RAMDisk.
1 parent 8ad35ef commit 90af8ec

File tree

2 files changed

+12
-19
lines changed

2 files changed

+12
-19
lines changed

.azure-pipelines/steps/run-tests-windows.yml

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -76,25 +76,20 @@ steps:
7676

7777
- script:
7878
tox -e py -- -m unit --junit-xml=junit/unit-test.xml
79-
--use-wpr
80-
--wpr-path="C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\wpr.exe"
81-
--wpr-profile=GeneralProfile.verbose
82-
--wpr-profile=CPU.verbose
83-
--wpr-output=traces/wpr-result.etl
8479
env:
8580
TEMP: "R:\\"
8681
displayName: Tox run unit tests
8782

88-
- script:
89-
tracerpt -l traces/wpr-result.etl -export traces/providers.man
90-
displayName: Generate trace provider manifest
91-
92-
- task: PublishBuildArtifacts@1
93-
displayName: 'Publish trace results'
94-
inputs:
95-
pathtoPublish: traces
96-
artifactName: wpr-result-$(python.version)-$(python.architecture).etl
97-
condition: succeededOrFailed()
83+
#- script:
84+
# tracerpt -l traces/wpr-result.etl -export traces/providers.man
85+
# displayName: Generate trace provider manifest
86+
#
87+
#- task: PublishBuildArtifacts@1
88+
# displayName: 'Publish trace results'
89+
# inputs:
90+
# pathtoPublish: traces
91+
# artifactName: wpr-result-$(python.version)-$(python.architecture).etl
92+
# condition: succeededOrFailed()
9893

9994
- ${{ if eq(parameters.runIntegrationTests, 'true') }}:
10095
- powershell: |
@@ -105,9 +100,7 @@ steps:
105100
106101
# Shorten paths to get under MAX_PATH or else integration tests will fail
107102
# https://bugs.python.org/issue18199
108-
subst T: $env:TEMP
109-
$env:TEMP = "T:\"
110-
$env:TMP = "T:\"
103+
$env:TEMP = "R:\"
111104
112105
tox -e py -- -m integration -n 3 --duration=5 --junit-xml=junit/integration-test.xml
113106
displayName: Tox run integration tests

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ deps = -r{toxinidir}/tools/requirements/tests.txt
2020
commands_pre =
2121
python -c 'import shutil, sys; shutil.rmtree(sys.argv[1], ignore_errors=True)' {toxinidir}/tests/data/common_wheels
2222
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tools/requirements/tests-common_wheels.txt
23-
commands = pytest --timeout 300 --suppress-no-test-exit-code [] -k test_build_env_allow_only_one_install tests/unit/test_build_env.py
23+
commands = pytest --timeout 300 []
2424
install_command = {[helpers]pip} install {opts} {packages}
2525
list_dependencies_command = {[helpers]pip} freeze --all
2626

0 commit comments

Comments
 (0)