blob: bbca33894c9b944808a20e46686d3cf5490f4e81 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/bash
MY_DIR="$(dirname "$0")"
TEST_SCRIPT=$MY_DIR/tests.sh
BUILD_DIR=/tmp/protobuf
# Set value used in tests.sh.
PARALLELISM=-j8
set -x # display all commands
rm -rf $BUILD_DIR
mkdir -p $BUILD_DIR
cd $BUILD_DIR
git clone /var/local/jenkins/protobuf
cd protobuf
# If protoc fails to build, we can't test anything else.
$TEST_SCRIPT cpp || exit 1
# Other tests can fail and we keep on going.
#$TEST_SCRIPT java_jdk6
$TEST_SCRIPT java_jdk7
|