From 747c216887d35ce1e89ab0b0983088f8af90e8aa Mon Sep 17 00:00:00 2001 From: Kush Chakraborty Date: Thu, 9 Mar 2017 11:52:38 +0000 Subject: [PATCH] Remove unnecessary dependency on TestRunner_deploy.jar as it's an implicit dependency in java_test. -- PiperOrigin-RevId: 149638505 MOS_MIGRATED_REVID=149638505 --- src/test/shell/bazel/bazel_java_test.sh | 1 - src/test/shell/bazel/persistent_test_runner_test.sh | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/test/shell/bazel/bazel_java_test.sh b/src/test/shell/bazel/bazel_java_test.sh index df5eae4ec96b87..f1f9357b60d1e2 100755 --- a/src/test/shell/bazel/bazel_java_test.sh +++ b/src/test/shell/bazel/bazel_java_test.sh @@ -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'] ) diff --git a/src/test/shell/bazel/persistent_test_runner_test.sh b/src/test/shell/bazel/persistent_test_runner_test.sh index a6d5d6d5e13679..7e921512463d33 100755 --- a/src/test/shell/bazel/persistent_test_runner_test.sh +++ b/src/test/shell/bazel/persistent_test_runner_test.sh @@ -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 @@ -107,7 +105,6 @@ EOF cat > java/testrunners/BUILD < java/testrunners/BUILD <