mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjusted solc path and fixed remapping tests in cmdlineTests.sh under mingw64.
This commit is contained in:
parent
d033c2f767
commit
4a29726f76
@ -33,7 +33,19 @@ set -e
|
||||
REPO_ROOT=$(cd $(dirname "$0")/.. && pwd)
|
||||
SOLIDITY_BUILD_DIR=${SOLIDITY_BUILD_DIR:-build}
|
||||
source "${REPO_ROOT}/scripts/common.sh"
|
||||
SOLC="$REPO_ROOT/${SOLIDITY_BUILD_DIR}/solc/solc"
|
||||
|
||||
case "$OSTYPE" in
|
||||
msys)
|
||||
SOLC="$REPO_ROOT/${SOLIDITY_BUILD_DIR}/solc/Release/solc.exe"
|
||||
|
||||
# prevents msys2 path translation for a remapping test
|
||||
export MSYS2_ARG_CONV_EXCL="="
|
||||
;;
|
||||
*)
|
||||
SOLC="$REPO_ROOT/${SOLIDITY_BUILD_DIR}/solc/solc"
|
||||
;;
|
||||
esac
|
||||
|
||||
INTERACTIVE=true
|
||||
if ! tty -s || [ "$CI" ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user