Skip to content

Commit

Permalink
Remove unnecessary dependency on TestRunner_deploy.jar as it's an imp…
Browse files Browse the repository at this point in the history
…licit dependency in java_test.

--
PiperOrigin-RevId: 149638505
MOS_MIGRATED_REVID=149638505
  • Loading branch information
kush-c authored and vladmos committed Mar 9, 2017
1 parent 92d6419 commit 747c216
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/test/shell/bazel/bazel_java_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ java_library(name = "test_runner",
java_test(name = "Tests",
srcs = ['Tests.java'],
deps = ['@bazel_tools//tools/jdk:TestRunner_deploy.jar'],
main_class = "testrunners.TestRunner",
runtime_deps = [':test_runner']
)
Expand Down
4 changes: 0 additions & 4 deletions src/test/shell/bazel/persistent_test_runner_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,11 @@ EOF
java_test(name = "TestsPass",
srcs = ['TestsPass.java'],
tags = ["experimental_testrunner"],
deps = ['@bazel_tools//tools/jdk:ExperimentalTestRunner_deploy.jar'],
)
java_test(name = "TestsFail",
srcs = ['TestsFail.java'],
tags = ["experimental_testrunner"],
deps = ['@bazel_tools//tools/jdk:ExperimentalTestRunner_deploy.jar'],
)
EOF

Expand Down Expand Up @@ -107,7 +105,6 @@ EOF
cat > java/testrunners/BUILD <<EOF
java_test(name = "Tests",
srcs = ['Tests.java'],
deps = ['@bazel_tools//tools/jdk:TestRunner_deploy.jar'],
)
EOF

Expand Down Expand Up @@ -194,7 +191,6 @@ EOF
cat > java/testrunners/BUILD <<EOF
java_test(name = "Tests",
srcs = ['Tests.java'],
deps = ['@bazel_tools//tools/jdk:TestRunner_deploy.jar'],
)
EOF

Expand Down

0 comments on commit 747c216

Please sign in to comment.