Skip to content

Commit

Permalink
-Dsurefire.failIfNoSpecifiedTests=false (#9761)
Browse files Browse the repository at this point in the history
@mrkruskal

(cherry picked from commit 88eb755)
  • Loading branch information
elharo authored and mkruskal-google committed Apr 8, 2022
1 parent 044cb7f commit 26d11fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kokoro/linux/aarch64/test_java_aarch64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ kokoro/linux/aarch64/dockcross_helpers/run_dockcross_manylinux2014_aarch64.sh ko

# the command that will be used to build and test java under an emulator
# * IsValidUtf8Test and DecodeUtf8Test tests are being skipped because that take very long under an emulator.
TEST_JAVA_COMMAND="mvn --batch-mode -DskipTests install && mvn --batch-mode -Dtest='**/*Test, !**/*IsValidUtf8Test, !**/*DecodeUtf8Test' -DfailIfNoTests=false -DfailIfNoSpecifiedTests=false surefire:test"
TEST_JAVA_COMMAND="mvn --batch-mode -DskipTests install && mvn --batch-mode -Dtest='**/*Test, !**/*IsValidUtf8Test, !**/*DecodeUtf8Test' -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false surefire:test"

# use an actual aarch64 docker image (with a real aarch64 java and maven) to run build & test protobuf java under an emulator
# * mount the protobuf root as /work to be able to access the crosscompiled files
Expand Down

0 comments on commit 26d11fd

Please sign in to comment.