aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/skyframe/TestsInSuiteFunction.java
diff options
context:
space:
mode:
authorGravatar Greg Estren <gregce@google.com>2016-12-21 00:05:46 +0000
committerGravatar Klaus Aehlig <aehlig@google.com>2016-12-21 09:48:49 +0000
commitc83a701038abe6cb1a6f6ff63fa24982515105e5 (patch)
tree1a0c80243d49f5c8154c4c10761d764b0de03275 /src/main/java/com/google/devtools/build/lib/skyframe/TestsInSuiteFunction.java
parentcb9d16a09e742d8c4419773168bfed7abe6b4af5 (diff)
Remove dead code referencing deleted "suites" attribute.
This used to be how test_suites depended on other test_suites. Now they just go in "tests". -- PiperOrigin-RevId: 142607603 MOS_MIGRATED_REVID=142607603
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/TestsInSuiteFunction.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/skyframe/TestsInSuiteFunction.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/TestsInSuiteFunction.java b/src/main/java/com/google/devtools/build/lib/skyframe/TestsInSuiteFunction.java
index 18a747ee97..24fc760769 100644
--- a/src/main/java/com/google/devtools/build/lib/skyframe/TestsInSuiteFunction.java
+++ b/src/main/java/com/google/devtools/build/lib/skyframe/TestsInSuiteFunction.java
@@ -75,9 +75,6 @@ final class TestsInSuiteFunction implements SkyFunction {
// Note that testsAndSuites can contain input file targets; the test_suite rule does not
// restrict the set of targets that can appear in tests or suites.
builder.mergeError(getPrerequisites(env, testSuite, "tests", testsAndSuites));
- if (testSuite.getRuleClassObject().hasAttr("suites", BuildType.LABEL_LIST)) {
- builder.mergeError(getPrerequisites(env, testSuite, "suites", testsAndSuites));
- }
// 1. Add all tests
for (Target test : testsAndSuites) {