diff --git a/circuits/cpp/barretenberg/cpp/scripts/run_tests b/circuits/cpp/barretenberg/cpp/scripts/run_tests index af588c78ccc8..b3b7ba69cd7d 100755 --- a/circuits/cpp/barretenberg/cpp/scripts/run_tests +++ b/circuits/cpp/barretenberg/cpp/scripts/run_tests @@ -3,7 +3,7 @@ # 1. The number of ignition transcripts to download. # 2. The set of gtest binary names to run. # 3-n. The arguments to pass to the gtest binaries. -set -eu +set -exu NUM_TRANSCRIPTS=$1 TESTS=$2 diff --git a/circuits/cpp/barretenberg/ts/scripts/run_tests b/circuits/cpp/barretenberg/ts/scripts/run_tests index 7a97ff6adefc..ed93c9a80916 100755 --- a/circuits/cpp/barretenberg/ts/scripts/run_tests +++ b/circuits/cpp/barretenberg/ts/scripts/run_tests @@ -1,5 +1,5 @@ #!/bin/bash -set -e +set -xe $(aws ecr get-login --region us-east-2 --no-include-email) 2> /dev/null diff --git a/circuits/cpp/scripts/run_tests b/circuits/cpp/scripts/run_tests index 2b203c7e5f09..a7ff014edcb5 100755 --- a/circuits/cpp/scripts/run_tests +++ b/circuits/cpp/scripts/run_tests @@ -1,5 +1,5 @@ #!/bin/bash -set -eu +set -exu # To be called from CI for testing with docker and AWS. # Can't be called locally unless AWS credentials are set up. diff --git a/circuits/cpp/scripts/run_tests_local b/circuits/cpp/scripts/run_tests_local index 12e3207dc795..1087ebc83a7e 100755 --- a/circuits/cpp/scripts/run_tests_local +++ b/circuits/cpp/scripts/run_tests_local @@ -1,5 +1,5 @@ #!/bin/bash -set -eu +set -exu DIR="$(dirname "$0")" diff --git a/yarn-project/canary/scripts/run_tests b/yarn-project/canary/scripts/run_tests index b9e645c11ff1..7dc55d20d183 100755 --- a/yarn-project/canary/scripts/run_tests +++ b/yarn-project/canary/scripts/run_tests @@ -1,7 +1,7 @@ #!/bin/bash # This script is used to run an e2e test in CI (see config.yml and cond_spot_run_tests). # It sets a few environment variables used inside the docker-compose.yml, pulls images, and runs docker-compose. -set -eu +set -exu export TEST=$1 export IMAGE=${2:-canary} diff --git a/yarn-project/end-to-end/scripts/run_tests b/yarn-project/end-to-end/scripts/run_tests index ef6dcc1187fa..e766103da17a 100755 --- a/yarn-project/end-to-end/scripts/run_tests +++ b/yarn-project/end-to-end/scripts/run_tests @@ -1,7 +1,7 @@ #!/bin/bash # This script is used to run an e2e test in CI (see config.yml and cond_spot_run_tests). # It sets a few environment variables used inside the docker-compose.yml, pulls images, and runs docker-compose. -set -eu +set -exu export TEST=$1 export COMPOSE_FILE=${2:-docker-compose.yml} diff --git a/yarn-project/end-to-end/scripts/run_tests_local b/yarn-project/end-to-end/scripts/run_tests_local index 9efbe4b64154..5d11fd18ea0b 100755 --- a/yarn-project/end-to-end/scripts/run_tests_local +++ b/yarn-project/end-to-end/scripts/run_tests_local @@ -1,7 +1,7 @@ #!/bin/bash # This script is used to run an e2e test in CI (see config.yml and cond_run_script). # It sets a few environment variables used inside the docker-compose.yml, pulls images, and runs docker-compose. -set -eu +set -exu export TEST=$1 export COMPOSE_FILE=${2:-./scripts/docker-compose.yml}