Fix inconsistent indentation

This commit is contained in:
Kamil Śliwak 2020-12-11 18:15:16 +01:00
parent c7d1e1911e
commit 6d44055556
5 changed files with 14 additions and 14 deletions

View File

@ -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}")

View File

@ -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.

View File

@ -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}

View File

@ -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

View File

@ -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)
}
}
}