Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add debugging to run_tests #2212

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion circuits/cpp/barretenberg/cpp/scripts/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion circuits/cpp/barretenberg/ts/scripts/run_tests
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -xe

$(aws ecr get-login --region us-east-2 --no-include-email) 2> /dev/null

Expand Down
2 changes: 1 addition & 1 deletion circuits/cpp/scripts/run_tests
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion circuits/cpp/scripts/run_tests_local
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -eu
set -exu

DIR="$(dirname "$0")"

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/canary/scripts/run_tests
Original file line number Diff line number Diff line change
@@ -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}
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/scripts/run_tests
Original file line number Diff line number Diff line change
@@ -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}
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/scripts/run_tests_local
Original file line number Diff line number Diff line change
@@ -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}
Expand Down