Skip to content

Commit 0549606

Browse files
authored
Merge pull request #13189 from ethereum/fix-externalTests-script
Enabled external tests to use relative paths to solc binary.
2 parents b988d3e + 5b8a950 commit 0549606

16 files changed

+16
-16
lines changed

test/externalTests/bleeps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
2828

2929
verify_input "$@"
3030
BINARY_TYPE="$1"
31-
BINARY_PATH="$2"
31+
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

3434
function compile_fn { npm run compile; }

test/externalTests/brink.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
2828

2929
verify_input "$@"
3030
BINARY_TYPE="$1"
31-
BINARY_PATH="$2"
31+
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

3434
function compile_fn { yarn compile; }

test/externalTests/chainlink.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
2828

2929
verify_input "$@"
3030
BINARY_TYPE="$1"
31-
BINARY_PATH="$2"
31+
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

3434
function compile_fn { yarn compile; }

test/externalTests/colony.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
2828

2929
verify_input "$@"
3030
BINARY_TYPE="$1"
31-
BINARY_PATH="$2"
31+
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

3434
function compile_fn { yarn run provision:token:contracts; }

test/externalTests/elementfi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
2828

2929
verify_input "$@"
3030
BINARY_TYPE="$1"
31-
BINARY_PATH="$2"
31+
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

3434
function compile_fn { npm run build; }

test/externalTests/ens.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
2828

2929
verify_input "$@"
3030
BINARY_TYPE="$1"
31-
BINARY_PATH="$2"
31+
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

3434
function compile_fn { yarn build; }

test/externalTests/euler.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
2828

2929
verify_input "$@"
3030
BINARY_TYPE="$1"
31-
BINARY_PATH="$2"
31+
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

3434
function compile_fn { npm run compile; }

test/externalTests/gnosis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
2828

2929
verify_input "$@"
3030
BINARY_TYPE="$1"
31-
BINARY_PATH="$2"
31+
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

3434
function compile_fn { npm run build; }

test/externalTests/gp2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
2828

2929
verify_input "$@"
3030
BINARY_TYPE="$1"
31-
BINARY_PATH="$2"
31+
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

3434
function compile_fn { npm run build; }

test/externalTests/perpetual-pools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
2828

2929
verify_input "$@"
3030
BINARY_TYPE="$1"
31-
BINARY_PATH="$2"
31+
BINARY_PATH="$(realpath "$2")"
3232
SELECTED_PRESETS="$3"
3333

3434
function compile_fn { yarn build; }

0 commit comments

Comments
 (0)