Skip to content

Commit 644b29c

Browse files
meteorcloudycopybara-github
authored andcommitted
Fix system_library_test.sh with Bazel@HEAD
Copybara Import from #442 BEGIN_PUBLIC Fix system_library_test.sh with Bazel@HEAD (#442) Migrate for bazelbuild/bazel@bf0d751 Closes #442 END_PUBLIC COPYBARA_INTEGRATE_REVIEW=#442 from bazelbuild:meteorcloudy-patch-7 96005d6 PiperOrigin-RevId: 783279374 Change-Id: I1eb74be77cd084fc88ae9bd41db6badbe5e2fd64
1 parent 3de8914 commit 644b29c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/system_library/system_library_test.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@ function test_override_paths() {
162162
bazel run //:test \
163163
--experimental_starlark_cc_import \
164164
--experimental_repo_remote_exec \
165-
--action_env=BAZEL_LIB_OVERRIDE_PATHS=foo="${PWD}"/systemlib \
166-
--action_env=BAZEL_INCLUDE_OVERRIDE_PATHS=foo="${PWD}"/systemlib \
165+
--repo_env=BAZEL_LIB_OVERRIDE_PATHS=foo="${PWD}"/systemlib \
166+
--repo_env=BAZEL_INCLUDE_OVERRIDE_PATHS=foo="${PWD}"/systemlib \
167167
|| fail "Expected test to run successfully"
168168

169169
bazel run //:test_static \
170170
--experimental_starlark_cc_import \
171171
--experimental_repo_remote_exec \
172-
--action_env=BAZEL_LIB_OVERRIDE_PATHS=foo="${PWD}"/systemlib \
173-
--action_env=BAZEL_INCLUDE_OVERRIDE_PATHS=foo="${PWD}"/systemlib \
172+
--repo_env=BAZEL_LIB_OVERRIDE_PATHS=foo="${PWD}"/systemlib \
173+
--repo_env=BAZEL_INCLUDE_OVERRIDE_PATHS=foo="${PWD}"/systemlib \
174174
|| fail "Expected test_static to run successfully"
175175
}
176176

@@ -180,15 +180,15 @@ function test_additional_paths() {
180180
bazel run //:test \
181181
--experimental_starlark_cc_import \
182182
--experimental_repo_remote_exec \
183-
--action_env=BAZEL_LIB_ADDITIONAL_PATHS=foo="${PWD}"/systemlib \
184-
--action_env=BAZEL_INCLUDE_ADDITIONAL_PATHS=foo="${PWD}"/systemlib \
183+
--repo_env=BAZEL_LIB_ADDITIONAL_PATHS=foo="${PWD}"/systemlib \
184+
--repo_env=BAZEL_INCLUDE_ADDITIONAL_PATHS=foo="${PWD}"/systemlib \
185185
|| fail "Expected test to run successfully"
186186

187187
bazel run //:test_static \
188188
--experimental_starlark_cc_import \
189189
--experimental_repo_remote_exec \
190-
--action_env=BAZEL_LIB_ADDITIONAL_PATHS=foo="${PWD}"/systemlib \
191-
--action_env=BAZEL_INCLUDE_ADDITIONAL_PATHS=foo="${PWD}"/systemlib \
190+
--repo_env=BAZEL_LIB_ADDITIONAL_PATHS=foo="${PWD}"/systemlib \
191+
--repo_env=BAZEL_INCLUDE_ADDITIONAL_PATHS=foo="${PWD}"/systemlib \
192192
|| fail "Expected test_static to run successfully"
193193
}
194194

0 commit comments

Comments
 (0)