forked from higherkindness/rules_scala
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disabled tests/dependencies/indirect/test
- Loading branch information
Jaden Peterson
committed
Nov 13, 2024
1 parent
76d2c89
commit 2739c71
Showing
1 changed file
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
#!/bin/bash -e | ||
. "$(dirname "$0")"/../../common.sh | ||
|
||
# used_deps off | ||
! bazel build :used_deps_off_c || false | ||
bazel build :used_deps_off_c |& grep "buildozer 'add deps @\?//dependencies/indirect:used_deps_off_a' //dependencies/indirect:used_deps_off_c" | ||
# TODO: Make this test not flaky | ||
# # used_deps off | ||
# ! bazel build :used_deps_off_c || false | ||
# bazel build :used_deps_off_c |& grep "buildozer 'add deps @\?//dependencies/indirect:used_deps_off_a' //dependencies/indirect:used_deps_off_c" | ||
|
||
# direct_deps off | ||
! bazel build :direct_deps_off_c || false | ||
bazel build :direct_deps_off_c |& grep "buildozer 'remove deps //dependencies/indirect:direct_deps_off_a' //dependencies/indirect:direct_deps_off_b" | ||
# # direct_deps off | ||
# ! bazel build :direct_deps_off_c || false | ||
# bazel build :direct_deps_off_c |& grep "buildozer 'remove deps //dependencies/indirect:direct_deps_off_a' //dependencies/indirect:direct_deps_off_b" | ||
|
||
# toggle used_deps and direct_deps via --define | ||
! bazel build --define=scala_deps_used=off :define_c || false | ||
bazel build --define=scala_deps_used=off :define_c |& grep "buildozer 'add deps @\?//dependencies/indirect:define_a' //dependencies/indirect:define_c" | ||
# # toggle used_deps and direct_deps via --define | ||
# ! bazel build --define=scala_deps_used=off :define_c || false | ||
# bazel build --define=scala_deps_used=off :define_c |& grep "buildozer 'add deps @\?//dependencies/indirect:define_a' //dependencies/indirect:define_c" | ||
|
||
! bazel build --define=scala_deps_direct=off :define_c || false | ||
bazel build --define=scala_deps_direct=off :define_c |& grep "buildozer 'remove deps //dependencies/indirect:define_a' //dependencies/indirect:define_b" | ||
# ! bazel build --define=scala_deps_direct=off :define_c || false | ||
# bazel build --define=scala_deps_direct=off :define_c |& grep "buildozer 'remove deps //dependencies/indirect:define_a' //dependencies/indirect:define_b" | ||
|
||
bazel build --define=scala_deps_used=off --define=scala_deps_direct=off :define_c | ||
# bazel build --define=scala_deps_used=off --define=scala_deps_direct=off :define_c |