From 123929833bbd0c04cd02fb35dee4b83593a66c11 Mon Sep 17 00:00:00 2001 From: jjudd Date: Tue, 12 Nov 2024 14:05:02 -0700 Subject: [PATCH] Switch from |& to 2>&1| just in case it fixes anything. This shouldn't fix anything. --- tests/dependencies/indirect/test | 8 ++++---- tests/dependencies/unused/test | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/dependencies/indirect/test b/tests/dependencies/indirect/test index c00c592e0..18033c0d2 100755 --- a/tests/dependencies/indirect/test +++ b/tests/dependencies/indirect/test @@ -3,17 +3,17 @@ # 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" +bazel build :used_deps_off_c 2>&1| 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" +bazel build :direct_deps_off_c 2>&1| 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" +bazel build --define=scala_deps_used=off :define_c 2>&1| 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 2>&1| 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 diff --git a/tests/dependencies/unused/test b/tests/dependencies/unused/test index d89376e00..fe7af2ded 100755 --- a/tests/dependencies/unused/test +++ b/tests/dependencies/unused/test @@ -3,9 +3,9 @@ bazel build :0_used ! bazel build :0_unused || false -bazel build :0_unused |& grep "buildozer 'remove deps @annex_test//:org_scalacheck_scalacheck_2_13' //dependencies/unused:0_unused" +bazel build :0_unused 2>&1| grep "buildozer 'remove deps @annex_test//:org_scalacheck_scalacheck_2_13' //dependencies/unused:0_unused" bazel build :0_unused_whitelist bazel build :indirect_unused ! bazel build :indirect_unused_missing || false -bazel build :indirect_unused_missing |& grep "buildozer 'add deps @annex_test//:org_specs2_specs2_matcher_2_13' //dependencies/unused:indirect_unused_missing" +bazel build :indirect_unused_missing 2>&1| grep "buildozer 'add deps @annex_test//:org_specs2_specs2_matcher_2_13' //dependencies/unused:indirect_unused_missing" bazel build :indirect_unused_whitelist