Skip to content

Commit

Permalink
Attemp to work around ancient bash version in macos unit test machine
Browse files Browse the repository at this point in the history
  • Loading branch information
marun committed Dec 1, 2023
1 parent 7e898e2 commit b00f2b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/tests.integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi
export AVALANCHEGO_CLONE_PATH="${AVALANCHEGO_CLONE_PATH:-avalanchego}"

# Only build avalanchego if using the network fixture
if [[ "${@}" =~ "--use-network-fixture" ]]; then
if [[ "$@" =~ "--use-network-fixture" ]]; then
./scripts/build_avalanchego.sh
export AVALANCHEGO_PATH="$(realpath ${AVALANCHEGO_PATH:-${AVALANCHEGO_CLONE_PATH}/build/avalanchego})"
fi
Expand All @@ -28,4 +28,4 @@ ACK_GINKGO_RC=true ginkgo build ./tests/integration
./tests/integration/integration.test --help

# Execute in random order to identify unwanted dependency
./tests/integration/integration.test --ginkgo.randomize-all --ginkgo.trace --ginkgo.v "${@}"
./tests/integration/integration.test --ginkgo.randomize-all --ginkgo.trace --ginkgo.v "$@"

0 comments on commit b00f2b9

Please sign in to comment.