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)"} SHELLCHECK=${SHELLCHECK:-"$(command -v -- shellcheck)"}
if [ ! -f "${SHELLCHECK}" ]; then if [ ! -f "${SHELLCHECK}" ]; then
echo "error: shellcheck '${SHELLCHECK}' not found." echo "error: shellcheck '${SHELLCHECK}' not found."
exit 1 exit 1
fi fi
FILES=$(join -v2 "${IGNORE_FILES_TMP}" "${FOUND_FILES_TMP}") FILES=$(join -v2 "${IGNORE_FILES_TMP}" "${FOUND_FILES_TMP}")

View File

@ -62,10 +62,10 @@ fi
mkdir -p $BUILD_DIR mkdir -p $BUILD_DIR
cd $BUILD_DIR cd $BUILD_DIR
emcmake cmake \ emcmake cmake \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DBoost_USE_STATIC_LIBS=1 \ -DBoost_USE_STATIC_LIBS=1 \
-DBoost_USE_STATIC_RUNTIME=1 \ -DBoost_USE_STATIC_RUNTIME=1 \
-DTESTS=0 \ -DTESTS=0 \
.. ..
make soljson make soljson
# Patch soljson.js for backwards compatibility. # Patch soljson.js for backwards compatibility.

View File

@ -44,7 +44,7 @@ do
BOOST_OPTIONS="${BOOST_OPTIONS} $1" BOOST_OPTIONS="${BOOST_OPTIONS} $1"
;; ;;
--help) --help)
usage usage
exit 0 exit 0
;; ;;
--run_test | -t ) --run_test | -t )
@ -64,4 +64,4 @@ if [ "$USE_DEBUGGER" -ne "0" ]; then
DEBUG_PREFIX=${DEBUGGER} DEBUG_PREFIX=${DEBUGGER}
fi 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 $* for x in $*
do do
echo -n $x " # " echo -n $x " # "
# This subshell is a workaround to prevent the shell from printing # This subshell is a workaround to prevent the shell from printing
# "Aborted" # "Aborted"
("$REPO"/build/test/tools/solfuzzer < "$x" || true) 2>&1 | head -n 1 ("$REPO"/build/test/tools/solfuzzer < "$x" || true) 2>&1 | head -n 1
done done
) | sort -u -t'#' -k 2 ) | sort -u -t'#' -k 2

View File

@ -85,8 +85,8 @@ for (var optimize of [false, true])
} }
} catch (e) { } catch (e) {
console.log(filename + ': FATAL ERROR') console.log(filename + ': FATAL ERROR')
console.error(filename) console.error(filename)
console.error(inputs) console.error(inputs)
} }
} }
} }