Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 703dd550 authored by Mark Dacek's avatar Mark Dacek Committed by Automerger Merge Worker
Browse files

Merge "Squelch output for a failure case in mixed_mode_test" am: a23feefd

parents 4daa04c1 a23feefd
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
#!/bin/bash -eu
#!/bin/bash

set -o pipefail

@@ -88,9 +88,9 @@ EOF
    fail "Bazel actions not found for force-enabled module"
  fi

  local exit_code=`run_soong --bazel-force-enabled-modules=unenabled-touch-file nothing`
  unused=`run_soong --bazel-force-enabled-modules=unenabled-touch-file nothing >/dev/null`

  if [[ $exit_code -ne 1 ]]; then
  if [[ $? -ne 1 ]]; then
    fail "Expected failure due to force-enabling an unenabled module "
  fi
}