aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests.sh
diff options
context:
space:
mode:
authorGravatar Jie Luo <anandolee@gmail.com>2017-02-13 10:54:34 -0800
committerGravatar GitHub <noreply@github.com>2017-02-13 10:54:34 -0800
commit3f6f73b796988f47bfc157d3a9faee81fad7fa89 (patch)
tree5011cf92db4abcf29d6d2e634307b04bf58935d9 /tests.sh
parented423c2c521862df9c9bb4a6b557ef0c503807cb (diff)
parent7288689d8c1f32d1c0f14d33a98d41ebbe269c1e (diff)
Merge pull request #2701 from anandolee/master
Add csharp compatibility tests against v3.0.0
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 d0d77e49..981d20cc 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() {