Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
0b931bcd
Commit
0b931bcd
authored
Feb 19, 2016
by
Josh Haberman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add another test (javanano), but run it in parallel.
parent
0f8c25d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
Dockerfile
tools/docker/Dockerfile
+1
-0
jenkins.sh
tools/run_tests/jenkins.sh
+12
-5
No files found.
tools/docker/Dockerfile
View file @
0b931bcd
...
...
@@ -47,6 +47,7 @@ RUN apt-get update && apt-get install -y \
libgtest-dev
\
libtool
\
make
\
parallel
\
strace
\
python-dev
\
python-setuptools
\
...
...
tools/run_tests/jenkins.sh
View file @
0b931bcd
...
...
@@ -7,6 +7,7 @@ BUILD_DIR=/tmp/protobuf
# Set value used in tests.sh.
PARALLELISM
=
-j8
set
-e
# exit immediately on error
set
-x
# display all commands
rm
-rf
$BUILD_DIR
...
...
@@ -15,9 +16,15 @@ 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
OUTPUT_DIR
=
`
mktemp
-d
`
mkdir
-p
$OUTPUT_DIR
/
1
# Other tests can fail and we keep on going.
#$TEST_SCRIPT java_jdk6
$TEST_SCRIPT
java_jdk7
# cpp build needs to run first, non-parallelized, so that protoc is available
# for other builds.
$TEST_SCRIPT
cpp |
tee
$OUTPUT_DIR
/1/cpp
# Other tests are run in parallel. The overall run fails if any one of them
# fails.
# java_jdk6
parallel
$TEST_SCRIPT
::: java_jdk7 javanano_jdk7
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment