1
1
$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"
3
4
function CheckExitCode ([string ] $step , [int ] $currentCode )
4
5
{
5
6
if ($LASTEXITCODE -ne 0 )
@@ -11,55 +12,55 @@ function CheckExitCode([string] $step,[int] $currentCode)
11
12
return $currentCode ;
12
13
}
13
14
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
15
16
$exitCode = CheckExitCode " Unit tests" $exitCode
16
17
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
18
19
$exitCode = CheckExitCode " Scaling tests" $exitCode
19
20
20
21
.\runNodeTests.cmd
21
22
$exitCode = CheckExitCode " Node tests" $exitCode
22
23
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"
24
25
$exitCode = CheckExitCode " Non-E2E tests" $exitCode
25
26
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"
27
28
$exitCode = CheckExitCode " ScriptHostManagerTests tests" $exitCode
28
29
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"
30
31
$exitCode = CheckExitCode " EndToEndTimeoutTests tests" $exitCode
31
32
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"
33
34
$exitCode = CheckExitCode " CSharpEndToEndTests tests" $exitCode
34
35
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"
36
37
$exitCode = CheckExitCode " NodeEndToEndTests tests" $exitCode
37
38
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"
39
40
$exitCode = CheckExitCode " BashEndToEndTests tests" $exitCode
40
41
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"
42
43
$exitCode = CheckExitCode " DirectLoadEndToEndTests tests" $exitCode
43
44
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"
45
46
$exitCode = CheckExitCode " FSharpEndToEndTests tests" $exitCode
46
47
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"
48
49
$exitCode = CheckExitCode " PhpEndToEndTests tests" $exitCode
49
50
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"
51
52
$exitCode = CheckExitCode " PowerShellEndToEndTests tests" $exitCode
52
53
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"
54
55
$exitCode = CheckExitCode " PythonEndToEndTests tests" $exitCode
55
56
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"
57
58
$exitCode = CheckExitCode " RawAssemblyEndToEndTests tests" $exitCode
58
59
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"
60
61
$exitCode = CheckExitCode " SamplesEndToEndTests tests" $exitCode
61
62
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"
63
64
$exitCode = CheckExitCode " NodeEndToEndTests tests (x64)" $exitCode
64
65
65
66
Write-Host " Completed test with with exit code $exitCode "
0 commit comments