diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2018-08-09 15:22:22 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2018-08-09 15:22:22 -0700 |
commit | f0b8a57fe64286da5781385a6318faba0cbad9dc (patch) | |
tree | c9a91d827c89972b856a5b482043833398a46833 /tests.sh | |
parent | c9a30c2c279431466e30541ac7c2cd9776c93b9c (diff) | |
download | protobuf-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-x | tests.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() { |