diff options
author | Jie Luo <anandolee@gmail.com> | 2017-02-09 16:32:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-09 16:32:08 -0800 |
commit | c6e0d0e7f3dca63c006edae515dfca2a89b9c1e4 (patch) | |
tree | 05b13c1c646b3c69bae99664fedec64557538566 /python | |
parent | e844510f442119cc0c9b3d3ebbf06a542d7d18eb (diff) | |
parent | 42e1e2abef8c49efffaa55c645b04bb7e4184cc8 (diff) | |
download | protobuf-c6e0d0e7f3dca63c006edae515dfca2a89b9c1e4.tar.gz protobuf-c6e0d0e7f3dca63c006edae515dfca2a89b9c1e4.tar.bz2 protobuf-c6e0d0e7f3dca63c006edae515dfca2a89b9c1e4.zip |
Merge pull request #2647 from anandolee/master
Fix python compatibility test
Diffstat (limited to 'python')
-rwxr-xr-x | python/compatibility_tests/v2.5.0/test.sh | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/python/compatibility_tests/v2.5.0/test.sh b/python/compatibility_tests/v2.5.0/test.sh index c640da80..78c16ad1 100755 --- a/python/compatibility_tests/v2.5.0/test.sh +++ b/python/compatibility_tests/v2.5.0/test.sh @@ -92,16 +92,10 @@ python setup.py test # Test A.3: # proto set 1: use old version # proto set 2 which may import protos in set 1: use new version -# Compatiblility test fail if the old verison is less than 3.0.0-alpha-1. -# Because module name aliases was added in v3.0.0-alpha-1 instead of -# fully-qualified module names to refer to dependencies: dot was replaced -# with _dot_. -if [ "$(printf "$OLD_VERSION\n3.0.0" | sort -V | head -n 1 )" = "3.0.0" ]; then - cp old_protoc protoc_1 - cp ../../../src/protoc protoc_2 - python setup.py build - python setup.py test -fi +cp old_protoc protoc_1 +cp ../../../src/protoc protoc_2 +python setup.py build +python setup.py test rm google -r -f rm build -r -f |