-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 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
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 |
---|---|---|
|
@@ -15,17 +15,17 @@ fi | |
# Allow configuring the clone path to point to an existing clone | ||
export AVALANCHEGO_CLONE_PATH="${AVALANCHEGO_CLONE_PATH:-avalanchego}" | ||
|
||
echo "building integration.test" | ||
# Install the ginkgo binary (required for test build and run) | ||
go install -v github.com/onsi/ginkgo/v2/[email protected] | ||
ACK_GINKGO_RC=true ginkgo build ./tests/integration | ||
./tests/integration/integration.test --help | ||
|
||
# Only build avalanchego if using the network fixture | ||
if [[ "${@}" =~ "--use-network-fixture" ]]; then | ||
./scripts/build_avalanchego.sh | ||
export AVALANCHEGO_PATH="$(realpath ${AVALANCHEGO_PATH:-${AVALANCHEGO_CLONE_PATH}/build/avalanchego})" | ||
fi | ||
|
||
echo "building integration.test" | ||
# Install the ginkgo binary (required for test build and run) | ||
go install -v github.com/onsi/ginkgo/v2/[email protected] | ||
ACK_GINKGO_RC=true ginkgo build ./tests/integration | ||
./tests/integration/integration.test --help | ||
|
||
# Execute in random order to identify unwanted dependency | ||
ginkgo -v --randomize-all ./tests/integration/integration.test -- "${@}" |