mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow SOLIDITY_BUILD_DIR outside of REPO_ROOT in scripts that respect this variable
This commit is contained in:
+3
-3
@@ -6,7 +6,7 @@ USE_DEBUGGER=0
|
||||
DEBUGGER="gdb --args"
|
||||
BOOST_OPTIONS=
|
||||
SOLTEST_OPTIONS=
|
||||
SOLIDITY_BUILD_DIR=${SOLIDITY_BUILD_DIR:-build}
|
||||
SOLIDITY_BUILD_DIR=${SOLIDITY_BUILD_DIR:-${REPO_ROOT}/build}
|
||||
|
||||
usage() {
|
||||
echo 2>&1 "
|
||||
@@ -23,7 +23,7 @@ Options:
|
||||
|
||||
Important environment variables:
|
||||
|
||||
SOLIDITY_BUILD_DIR: Sets directory under the repository root of where test/soltest should be found.
|
||||
SOLIDITY_BUILD_DIR: Sets directory where test/soltest should be found.
|
||||
The default is \"${SOLIDITY_BUILD_DIR}\".
|
||||
"
|
||||
}
|
||||
@@ -64,4 +64,4 @@ if [ "$USE_DEBUGGER" -ne "0" ]; then
|
||||
DEBUG_PREFIX=${DEBUGGER}
|
||||
fi
|
||||
|
||||
exec ${DEBUG_PREFIX} ${REPO_ROOT}/${SOLIDITY_BUILD_DIR}/test/soltest ${BOOST_OPTIONS} -- --testpath ${REPO_ROOT}/test ${SOLTEST_OPTIONS}
|
||||
exec ${DEBUG_PREFIX} ${SOLIDITY_BUILD_DIR}/test/soltest ${BOOST_OPTIONS} -- --testpath ${REPO_ROOT}/test ${SOLTEST_OPTIONS}
|
||||
|
||||
Reference in New Issue
Block a user