-
-
Notifications
You must be signed in to change notification settings - Fork 985
/
Copy pathrunCoreTests.cmd
40 lines (29 loc) · 1 KB
/
runCoreTests.cmd
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@echo off
echo -----------------------------
echo Running dotnet restore
echo -----------------------------
call dotnet restore "BenchmarkDotNet.IntegrationTests\BenchmarkDotNet.IntegrationTests.csproj"
if NOT %ERRORLEVEL% == 0 (
echo Dotnet restore has failed
goto end
)
echo -----------------------------
echo Running Core 8.0 Unit tests
echo -----------------------------
call dotnet test "BenchmarkDotNet.Tests\BenchmarkDotNet.Tests.csproj" --configuration Release --framework net8.0
if NOT %ERRORLEVEL% == 0 (
echo Core 8.0 Unit tests has failed
goto end
)
echo -----------------------------
echo Running 8.0 Integration tests
echo -----------------------------
call dotnet test "BenchmarkDotNet.IntegrationTests\BenchmarkDotNet.IntegrationTests.csproj" --configuration Release --framework net8.0
if NOT %ERRORLEVEL% == 0 (
echo Core 8.0 Integration tests has failed
goto end
)
echo -----------------------------
echo All tests has passed for Core
echo -----------------------------
:end