-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5876 from jtattermusch/csharp_win_tests
C# testing improvements
- Loading branch information
Showing
10 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@rem Builds Google.Protobuf and runs the tests | ||
|
||
dotnet build src/Google.Protobuf.sln || goto :error | ||
|
||
echo Running tests. | ||
|
||
dotnet test src/Google.Protobuf.Test/Google.Protobuf.Test.csproj || goto :error | ||
|
||
goto :EOF | ||
|
||
:error | ||
echo Failed! | ||
exit /b %errorlevel% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@rem enter repo root | ||
cd /d %~dp0\..\..\.. | ||
|
||
cd csharp | ||
|
||
@rem Install dotnet SDK | ||
powershell -File install_dotnet_sdk.ps1 | ||
set PATH=%LOCALAPPDATA%\Microsoft\dotnet;%PATH% | ||
|
||
@rem Disable some unwanted dotnet options | ||
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true | ||
set DOTNET_CLI_TELEMETRY_OPTOUT=true | ||
|
||
call buildall.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Config file for running tests in Kokoro | ||
|
||
# Location of the build script in repository | ||
build_file: "protobuf/kokoro/windows/csharp/build.bat" | ||
timeout_mins: 1440 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters