mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #13189 from ethereum/fix-externalTests-script
Enabled external tests to use relative paths to solc binary.
This commit is contained in:
commit
05496064fe
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { npm run compile; }
|
function compile_fn { npm run compile; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { yarn compile; }
|
function compile_fn { yarn compile; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { yarn compile; }
|
function compile_fn { yarn compile; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { yarn run provision:token:contracts; }
|
function compile_fn { yarn run provision:token:contracts; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { npm run build; }
|
function compile_fn { npm run build; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { yarn build; }
|
function compile_fn { yarn build; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { npm run compile; }
|
function compile_fn { npm run compile; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { npm run build; }
|
function compile_fn { npm run build; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { npm run build; }
|
function compile_fn { npm run build; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { yarn build; }
|
function compile_fn { yarn build; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { yarn compile; }
|
function compile_fn { yarn compile; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { yarn compile; }
|
function compile_fn { yarn compile; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { yarn build; }
|
function compile_fn { yarn build; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { yarn compile; }
|
function compile_fn { yarn compile; }
|
||||||
|
@ -28,7 +28,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { npm run build; }
|
function compile_fn { npm run build; }
|
||||||
|
@ -31,7 +31,7 @@ REPO_ROOT=$(realpath "$(dirname "$0")/../..")
|
|||||||
|
|
||||||
verify_input "$@"
|
verify_input "$@"
|
||||||
BINARY_TYPE="$1"
|
BINARY_TYPE="$1"
|
||||||
BINARY_PATH="$2"
|
BINARY_PATH="$(realpath "$2")"
|
||||||
SELECTED_PRESETS="$3"
|
SELECTED_PRESETS="$3"
|
||||||
|
|
||||||
function compile_fn { npm run compile; }
|
function compile_fn { npm run compile; }
|
||||||
|
Loading…
Reference in New Issue
Block a user