mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix inconsistent indentation
This commit is contained in:
parent
c7d1e1911e
commit
6d44055556
@ -17,8 +17,8 @@ find . -type f -name "*.sh" | sort >"${FOUND_FILES_TMP}"
|
||||
|
||||
SHELLCHECK=${SHELLCHECK:-"$(command -v -- shellcheck)"}
|
||||
if [ ! -f "${SHELLCHECK}" ]; then
|
||||
echo "error: shellcheck '${SHELLCHECK}' not found."
|
||||
exit 1
|
||||
echo "error: shellcheck '${SHELLCHECK}' not found."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
FILES=$(join -v2 "${IGNORE_FILES_TMP}" "${FOUND_FILES_TMP}")
|
||||
|
@ -62,10 +62,10 @@ fi
|
||||
mkdir -p $BUILD_DIR
|
||||
cd $BUILD_DIR
|
||||
emcmake cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBoost_USE_STATIC_LIBS=1 \
|
||||
-DBoost_USE_STATIC_RUNTIME=1 \
|
||||
-DTESTS=0 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBoost_USE_STATIC_LIBS=1 \
|
||||
-DBoost_USE_STATIC_RUNTIME=1 \
|
||||
-DTESTS=0 \
|
||||
..
|
||||
make soljson
|
||||
# Patch soljson.js for backwards compatibility.
|
||||
|
@ -44,7 +44,7 @@ do
|
||||
BOOST_OPTIONS="${BOOST_OPTIONS} $1"
|
||||
;;
|
||||
--help)
|
||||
usage
|
||||
usage
|
||||
exit 0
|
||||
;;
|
||||
--run_test | -t )
|
||||
@ -64,4 +64,4 @@ if [ "$USE_DEBUGGER" -ne "0" ]; then
|
||||
DEBUG_PREFIX=${DEBUGGER}
|
||||
fi
|
||||
|
||||
exec ${DEBUG_PREFIX} ${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}
|
||||
|
@ -6,9 +6,9 @@ echo "Finding unique failures..."
|
||||
(
|
||||
for x in $*
|
||||
do
|
||||
echo -n $x " # "
|
||||
# This subshell is a workaround to prevent the shell from printing
|
||||
# "Aborted"
|
||||
("$REPO"/build/test/tools/solfuzzer < "$x" || true) 2>&1 | head -n 1
|
||||
echo -n $x " # "
|
||||
# This subshell is a workaround to prevent the shell from printing
|
||||
# "Aborted"
|
||||
("$REPO"/build/test/tools/solfuzzer < "$x" || true) 2>&1 | head -n 1
|
||||
done
|
||||
) | sort -u -t'#' -k 2
|
||||
|
@ -85,8 +85,8 @@ for (var optimize of [false, true])
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(filename + ': FATAL ERROR')
|
||||
console.error(filename)
|
||||
console.error(inputs)
|
||||
console.error(filename)
|
||||
console.error(inputs)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user