Skip to content

Commit 7bacce2

Browse files
comiuscopybara-github
authored andcommitted
Add C++ rules loads to Bazel tests
PiperOrigin-RevId: 833338555 Change-Id: I0feec8a39afa3ca76265029463d6449347830e0f
1 parent 9539217 commit 7bacce2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/shell/integration/output_filter_test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,12 @@ function test_filters_deprecated_targets() {
215215

216216
mkdir -p $pkg/{relativity,ether}
217217
cat > $pkg/relativity/BUILD <<EOF
218+
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
218219
cc_binary(name = 'relativity', srcs = ['relativity.cc'], deps = ['//$pkg/ether'])
219220
EOF
220221

221222
cat > $pkg/ether/BUILD <<EOF
223+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
222224
cc_library(name = 'ether', srcs = ['ether.cc'], deprecation = 'Disproven',
223225
visibility = ['//visibility:public'])
224226
EOF

0 commit comments

Comments
 (0)