8000 Remove mentions of middlemen from integration tests and update them w… · coderabbit-test/bazel@a42e3fb · GitHub
[go: up one dir, main page]

Skip to content

Commit a42e3fb

Browse files
lberkicopybara-github
authored andcommitted
Remove mentions of middlemen from integration tests and update them when convenient:
- test_build_python_zip_with_middleman is a reasonable test, rename it - test_middleman_conflict also, rename it to indicate what it actually tests RELNOTES: None. PiperOrigin-RevId: 696524427 Change-Id: I784454e673b1f69ca124634b448134cedd9e7572
1 parent 1744d45 commit a42e3fb

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

src/main/java/com/google/devtools/build/lib/analysis/Runfiles.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,9 +1084,6 @@ public void fingerprint(
10841084
artifacts);
10851085

10861086
emptyFilesSupplier.fingerprint(fp);
1087-
1088-
// extraMiddlemen does not affect the shape of the runfiles tree described by this instance and
1089-
// thus does not need to be fingerprinted.
10901087
}
10911088

10921089
/** Describes the inputs {@link #fingerprint} uses to aid describeKey() descriptions. */

src/test/shell/bazel/bazel_rules_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ EOF
474474
expect_log "The number is 42"
475475
}
476476

477-
function test_build_python_zip_with_middleman() {
477+
function test_build_python_zip_with_python_binary_as_data() {
478478
mkdir py
479479
touch py/data.txt
480480
cat > py/BUILD <<EOF

src/test/shell/bazel/workspace_test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ function test_path_with_spaces() {
7777
bazel help &> $TEST_log || fail "Help failed"
7878
}
7979

80-
# Tests for middleman conflict when using workspace repository
81-
function test_middleman_conflict() {
80+
function test_targets_with_identical_names_in_different_repos() {
8281
local test_repo1=$TEST_TMPDIR/repo1
8382
local test_repo2=$TEST_TMPDIR/repo2
8483

0 commit comments

Comments
 (0)
0