11$exitCode = 0 ;
2-
2+ $consoleRunnerx86Path = " $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console.2.3.0\tools\net452\xunit.console.x86.exe"
3+ $consoleRunnerPath = " $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console.2.3.0\tools\net452\xunit.console.exe"
34function CheckExitCode ([string ] $step , [int ] $currentCode )
45{
56 if ($LASTEXITCODE -ne 0 )
@@ -11,55 +12,55 @@ function CheckExitCode([string] $step,[int] $currentCode)
1112 return $currentCode ;
1213}
1314
14- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.dll" - appveyor
15+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.dll" - appveyor
1516$exitCode = CheckExitCode " Unit tests" $exitCode
1617
17- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Scaling.Tests\bin\Release\Microsoft.Azure.WebJobs.Script.Scaling.Tests.dll" - appveyor
18+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Scaling.Tests\bin\Release\Microsoft.Azure.WebJobs.Script.Scaling.Tests.dll" - appveyor
1819$exitCode = CheckExitCode " Scaling tests" $exitCode
1920
2021.\runNodeTests.cmd
2122$exitCode = CheckExitCode " Node tests" $exitCode
2223
23- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - notrait " Category=E2E"
24+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - notrait " Category=E2E"
2425$exitCode = CheckExitCode " Non-E2E tests" $exitCode
2526
26- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=ScriptHostManagerTests"
27+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=ScriptHostManagerTests"
2728$exitCode = CheckExitCode " ScriptHostManagerTests tests" $exitCode
2829
29- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=EndToEndTimeoutTests"
30+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=EndToEndTimeoutTests"
3031$exitCode = CheckExitCode " EndToEndTimeoutTests tests" $exitCode
3132
32- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=CSharpEndToEndTests"
33+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=CSharpEndToEndTests"
3334$exitCode = CheckExitCode " CSharpEndToEndTests tests" $exitCode
3435
35- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=NodeEndToEndTests"
36+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=NodeEndToEndTests"
3637$exitCode = CheckExitCode " NodeEndToEndTests tests" $exitCode
3738
38- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=BashEndToEndTests"
39+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=BashEndToEndTests"
3940$exitCode = CheckExitCode " BashEndToEndTests tests" $exitCode
4041
41- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=DirectLoadEndToEndTests"
42+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=DirectLoadEndToEndTests"
4243$exitCode = CheckExitCode " DirectLoadEndToEndTests tests" $exitCode
4344
44- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=FSharpEndToEndTests"
45+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=FSharpEndToEndTests"
4546$exitCode = CheckExitCode " FSharpEndToEndTests tests" $exitCode
4647
47- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=PhpEndToEndTests"
48+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=PhpEndToEndTests"
4849$exitCode = CheckExitCode " PhpEndToEndTests tests" $exitCode
4950
50- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=PowerShellEndToEndTests"
51+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=PowerShellEndToEndTests"
5152$exitCode = CheckExitCode " PowerShellEndToEndTests tests" $exitCode
5253
53- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=PythonEndToEndTests"
54+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=PythonEndToEndTests"
5455$exitCode = CheckExitCode " PythonEndToEndTests tests" $exitCode
5556
56- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=RawAssemblyEndToEndTests"
57+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=RawAssemblyEndToEndTests"
5758$exitCode = CheckExitCode " RawAssemblyEndToEndTests tests" $exitCode
5859
59- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.x86.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=SamplesEndToEndTests"
60+ & $consoleRunnerx86Path " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=SamplesEndToEndTests"
6061$exitCode = CheckExitCode " SamplesEndToEndTests tests" $exitCode
6162
62- & $env: APPVEYOR_BUILD_FOLDER \packages\xunit.runner.console. 2.3 . 0 \tools\net452\ xunit.console.exe " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=NodeEndToEndTests"
63+ & $consoleRunnerPath " $env: APPVEYOR_BUILD_FOLDER \test\WebJobs.Script.Tests.Integration\bin\Release\Microsoft.Azure.WebJobs.Script.Tests.Integration.dll" - trait " E2E=NodeEndToEndTests"
6364$exitCode = CheckExitCode " NodeEndToEndTests tests (x64)" $exitCode
6465
6566Write-Host " Completed test with with exit code $exitCode "
0 commit comments