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
2f3f1de1
Commit
2f3f1de1
authored
Mar 01, 2016
by
Josh Haberman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Java copy into separate directories so the tests can run concurrently.
parent
38bc1555
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
tests.sh
tools/run_tests/tests.sh
+9
-5
No files found.
tools/run_tests/tests.sh
View file @
2f3f1de1
...
...
@@ -112,18 +112,22 @@ use_java() {
MVN
=
"mvn --batch-mode"
build_java
()
{
version
=
$1
dir
=
java_
$version
# Java build needs `protoc`.
internal_build_cpp
c
d
java
&&
$MVN
test
&&
$MVN
install
cd
util
&&
$MVN
test
c
p
-r
java
$dir
cd
$dir
&&
$MVN
clean
&&
$MVN
test
cd
../..
}
# The conformance tests are hard-coded to work with the $ROOT/java directory.
# So this can't run in parallel with two different sets of tests.
build_java_with_conformance_tests
()
{
# Java build needs `protoc`.
internal_build_cpp
cd
java
&&
$MVN
test
&&
$MVN
install
cd
util
&&
$MVN
test
&&
$MVN
assembly:single
cd
util
&&
$MVN
package
assembly:single
cd
../..
cd
conformance
&&
make test_java
&&
cd
..
}
...
...
@@ -136,7 +140,7 @@ build_javanano() {
build_java_jdk6
()
{
use_java jdk6
build_java
build_java
jdk6
}
build_java_jdk7
()
{
use_java jdk7
...
...
@@ -144,7 +148,7 @@ build_java_jdk7() {
}
build_java_oracle7
()
{
use_java oracle7
build_java
build_java
oracle7
}
build_javanano_jdk6
()
{
...
...
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