Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
9a9a66e7
Commit
9a9a66e7
authored
Oct 25, 2017
by
Jon Skeet
Committed by
Jon Skeet
Nov 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run C# codegen when testing it
This will cause failures if shared protos change in an incompatible way.
parent
ce0a5327
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
tests.sh
tests.sh
+5
-3
No files found.
tests.sh
View file @
9a9a66e7
...
...
@@ -87,9 +87,7 @@ build_cpp_distcheck() {
}
build_csharp
()
{
# Just for the conformance tests. We don't currently
# need to really build protoc, but it's simplest to keep with the
# conventions of the other builds.
# Required for conformance tests and to regenerate protos.
internal_build_cpp
NUGET
=
/usr/local/bin/nuget.exe
...
...
@@ -104,6 +102,10 @@ build_csharp() {
(
cd
dotnettmp
;
dotnet new
>
/dev/null
)
rm
-rf
dotnettmp
# Check that the protos haven't broken C# codegen.
# TODO(jonskeet): Fail if regenerating creates any changes.
csharp/generate_protos.sh
csharp/buildall.sh
cd
conformance
&&
make test_csharp
&&
cd
..
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment