aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
authorJie Luo <jieluo@google.com>2017-02-09 16:49:52 -0800
committerJie Luo <jieluo@google.com>2017-02-10 13:40:16 -0800
commit7288689d8c1f32d1c0f14d33a98d41ebbe269c1e (patch)
tree23b3f5484e82f106e33ed5a33f3d38cdbdd6fc25 /tests.sh
parent9f09d1804a1cdf477db8249c746e362235fbd945 (diff)
downloadprotobuf-7288689d8c1f32d1c0f14d33a98d41ebbe269c1e.tar.gz
protobuf-7288689d8c1f32d1c0f14d33a98d41ebbe269c1e.tar.bz2
protobuf-7288689d8c1f32d1c0f14d33a98d41ebbe269c1e.zip
Add csharp compatibility tests against v3.0.0 and run on Travis.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 9e04bd66..28c4cb94 100755
--- a/tests.sh
+++ b/tests.sh
@@ -63,7 +63,7 @@ build_cpp_distcheck() {
# List all files that should be included in the distribution package.
git ls-files | grep "^\(java\|python\|objectivec\|csharp\|js\|ruby\|php\|cmake\|examples\)" |\
grep -v ".gitignore" | grep -v "java/compatibility_tests" |\
- grep -v "python/compatibility_tests" > dist.lst
+ grep -v "python/compatibility_tests" | grep -v "csharp/compatibility_tests" > dist.lst
# Unzip the dist tar file.
DIST=`ls *.tar.gz`
tar -xf $DIST
@@ -119,6 +119,9 @@ build_csharp() {
(cd csharp/src; dotnet restore)
csharp/buildall.sh
cd conformance && make test_csharp && cd ..
+
+ # Run csharp compatibility test between 3.0.0 and the current version.
+ csharp/compatibility_tests/v3.0.0/test.sh 3.0.0
}
build_golang() {