diff options
Diffstat (limited to 'src/test/shell/bazel/workspace_test.sh')
-rwxr-xr-x | src/test/shell/bazel/workspace_test.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/shell/bazel/workspace_test.sh b/src/test/shell/bazel/workspace_test.sh index 31c6a60103..3e6d6ed43f 100755 --- a/src/test/shell/bazel/workspace_test.sh +++ b/src/test/shell/bazel/workspace_test.sh @@ -48,8 +48,7 @@ local_repository( EOF bazel build @x//:x || fail "build failed" - execroot="$(bazel info execution_root)" - assert_contains "hi" "$execroot/../x/bazel-out/local-fastbuild/genfiles/out" + assert_contains "hi" bazel-genfiles/external/x/out cat > WORKSPACE <<EOF local_repository( @@ -59,7 +58,7 @@ local_repository( EOF bazel build @x//:x || fail "build failed" - assert_contains "bye" "$execroot/../x/bazel-out/local-fastbuild/genfiles/out" + assert_contains "bye" bazel-genfiles/external/x/out } |