forked from ravendb/ravendb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
run-tests-in-loop.ps1
26 lines (25 loc) · 964 Bytes
/
run-tests-in-loop.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
cd build
for($i = 0; $i -le 250; $i++)
{
$sp = [System.Diagnostics.Stopwatch]::StartNew()
Write-Host "Starting test #$i" -foregroundcolor Cyan
..\Tools\XUnit\xunit.console.clr4.exe "Raven.Munin.Tests.dll"
if ($lastExitCode -ne 0)
{ throw "err" }
..\Tools\XUnit\xunit.console.clr4.exe "Raven.Tests.dll"
if ($lastExitCode -ne 0)
{ throw "err" }
..\Tools\XUnit\xunit.console.clr4.exe "Raven.Scenarios.dll"
if ($lastExitCode -ne 0)
{ throw "err" }
..\Tools\XUnit\xunit.console.clr4.exe "Raven.Client.Tests.dll"
if ($lastExitCode -ne 0)
{ throw "err" }
..\Tools\XUnit\xunit.console.clr4.exe "Raven.Client.VisualBasic.Tests.dll"
if ($lastExitCode -ne 0)
{ throw "err" }
..\Tools\XUnit\xunit.console.clr4.exe "Raven.Bundles.Tests.dll"
if ($lastExitCode -ne 0)
{ throw "err" }
Write-Host "Completed in " $sp.Elapsed -foregroundcolor Cyan
}