aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2018-08-09 15:22:22 -0700
committerFeng Xiao <xfxyjwf@gmail.com>2018-08-09 15:22:22 -0700
commitf0b8a57fe64286da5781385a6318faba0cbad9dc (patch)
treec9a91d827c89972b856a5b482043833398a46833 /tests.sh
parentc9a30c2c279431466e30541ac7c2cd9776c93b9c (diff)
downloadprotobuf-f0b8a57fe64286da5781385a6318faba0cbad9dc.tar.gz
protobuf-f0b8a57fe64286da5781385a6318faba0cbad9dc.tar.bz2
protobuf-f0b8a57fe64286da5781385a6318faba0cbad9dc.zip
Cleanup kokoro scripts.
Changes: 1. Remove stuff no longer needed. Lots of the heavy lifting were there because we were running our own jenkins cluster and had to manage all the test logs ourselves. Now they are useless. 2. Change "-j2" to "-j4" to speed up the test a little bit. Kokoro machines have 4 logic CPUs according to their spec.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests.sh b/tests.sh
index 5bb8ae39..4ae766c8 100755
--- a/tests.sh
+++ b/tests.sh
@@ -18,12 +18,12 @@ internal_build_cpp() {
./autogen.sh
./configure CXXFLAGS="-fPIC" # -fPIC is needed for python cpp test.
# See python/setup.py for more details
- make -j2
+ make -j4
}
build_cpp() {
internal_build_cpp
- make check -j2 || (cat src/test-suite.log; false)
+ make check -j4 || (cat src/test-suite.log; false)
cd conformance && make test_cpp && cd ..
# The benchmark code depends on cmake, so test if it is installed before
@@ -68,7 +68,7 @@ build_cpp_distcheck() {
fi
# Do the regular dist-check for C++.
- make distcheck -j2
+ make distcheck -j4
}
build_csharp() {