File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Write-Host " Entering .appveyor/coverage_report.ps1"
12if ($env: COVERAGE -eq 1 ) {
23 & $env: SCONS_PYTHON_BIN - m coverage combine;
34 & $env: SCONS_PYTHON_BIN - m coverage report;
45 & $env: SCONS_PYTHON_BIN - m coverage xml - i - o coverage_xml.xml;
56}
7+ Write-Host " Exiting .appveyor/coverage_report.ps1"
Original file line number Diff line number Diff line change 1+ Write-Host " Entering .appveyor/coverage_setup.ps1"
12if ($env: COVERAGE -eq 1 ) {
23 $env: COVERAGE_PROCESS_START = " $ ( $env: APPVEYOR_BUILD_FOLDER ) \.coveragerc" ;
34 $env: COVERAGE_FILE = " $ ( $env: APPVEYOR_BUILD_FOLDER ) \.coverage" ;
@@ -13,3 +14,4 @@ if ($env:COVERAGE -eq 1) {
1314 Write-Host " $ ( $env: COVERAGE_PROCESS_START ) " ;
1415 Get-Content - Path " $ ( $env: COVERAGE_PROCESS_START ) " ;
1516}
17+ Write-Host " Exiting .appveyor/coverage_setup.ps1"
Original file line number Diff line number Diff line change 1+ Write-Host " Entering .appveyor/exclude_tests.ps1"
12New-Item - Name exclude_list.txt - ItemType File;
23
34# exclude VS 10.0 because it hangs the testing until this is resolved:
@@ -6,3 +7,4 @@ $workaround_image = "Visual Studio 2015";
67if ($env: APPVEYOR_BUILD_WORKER_IMAGE -eq $workaround_image ) {
78 Add-Content - Path ' exclude_list.txt' - Value ' test\MSVS\vs-10.0-exec.py' ;
89}
10+ Write-Host " Exiting .appveyor/exclude_tests.ps1"
Original file line number Diff line number Diff line change 1+ Write-Host " Entering .appveyor/ignore_git_bins.ps1"
12dir " C:\Program Files\Git\usr\bin\x*.exe" ;
23if (Test-Path " C:\Program Files\Git\usr\bin\xsltproc.EXE" ) {
34 Remove-Item " C:\Program Files\Git\usr\bin\xsltproc.EXE" - ErrorAction Ignore;
45}
56dir " C:\Program Files\Git\usr\bin\x*.exe" ;
7+ Write-Host " Exiting .appveyor/ignore_git_bins.ps1"
Original file line number Diff line number Diff line change 1+ Write-Host " Entering .appveyor/install-cov.ps1"
12if ($env: COVERAGE -eq 1 ) {
23 $pythonExe = $env: SCONS_PYTHON_BIN
34 $env: PYSITEDIR = & $pythonExe - c " import sys; print(sys.path[-1])"
45 & $pythonExe - m pip install - U -- progress- bar off coverage codecov
56}
7+ Write-Host " Exiting .appveyor/install-cov.ps1"
Original file line number Diff line number Diff line change 1+ Write-Host " Entering .appveyor/install.ps1"
12$pythonExe = " C:\$ ( $env: WINPYTHON ) \python.exe"
23
34# If the initial call to python --version fails, call "choco install %WINPYTHON%"
@@ -66,3 +67,4 @@ choco install --allow-empty-checksums dmd ldc swig vswhere xsltproc winflexbison
6667
6768# Show environment variables
6869Get-ChildItem Env: | Sort-Object Name
70+ Write-Host " Exiting .appveyor/install.ps1"
Original file line number Diff line number Diff line change 1-
2-
1+ Write-Host " Entering .appveyor/run_tests.ps1"
32Write-Host " COVERAGE: $env: COVERAGE "
43Write-Host " SCONS_PYTHON_BIN: $env: SCONS_PYTHON_BIN "
54
@@ -9,10 +8,12 @@ if ($env:COVERAGE -eq 1) {
98 & " $env: SCONS_PYTHON_BIN " runtest.py - j 2 - t -- exclude- list exclude_list.txt test/ Actions
109}
1110
12- # Treat exit code 2 (some tests failed) as success for AppVeyor
11+ # Treat exit code 2 (some tests failed) as success for AppVeyor
1312# as per original configuration.
1413if ($LastExitCode -eq 2 -or $LastExitCode -eq 0 ) {
14+ Write-Host " Exiting .appveyor/run_tests.ps1"
1515 exit 0
1616} else {
17+ Write-Host " Exiting .appveyor/run_tests.ps1"
1718 exit $LastExitCode
1819}
You can’t perform that action at this time.
0 commit comments