Replace obsolete tests option

This commit is contained in:
Kenjiro Nakayama 2015-04-16 11:49:55 +09:00
parent 6781441307
commit 9a7b842d17

View File

@ -17,10 +17,10 @@
# Provide reasonable default for running the end-to-end tests against a recent # Provide reasonable default for running the end-to-end tests against a recent
# stable release and then again after upgrading it to a version built from head. # stable release and then again after upgrading it to a version built from head.
go run "$(dirname $0)/e2e.go" -v -build -up -version="v0.6.0" -tests="*" -check_version_skew=false go run "$(dirname $0)/e2e.go" -v -build -up -version="v0.14.0" -test -check_version_skew=false
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "Tests on initial version succeeded. Proceeding with push and second set of tests." echo "Tests on initial version succeeded. Proceeding with push and second set of tests."
go run "$(dirname $0)/e2e.go" -v -push -version="" -tests="*" -check_version_skew=false go run "$(dirname $0)/e2e.go" -v -push -version="" -test -check_version_skew=false
else else
echo "Tests on initial version failed. Skipping tests on second version." echo "Tests on initial version failed. Skipping tests on second version."
fi fi