mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
cmdlineTests: Remove superfluous set and temporary dirs
This commit is contained in:
parent
00c2f511d3
commit
5c5f8e8dad
@ -7,8 +7,6 @@ source "${REPO_ROOT}/scripts/common.sh"
|
|||||||
source "${REPO_ROOT}/scripts/common_cmdline.sh"
|
source "${REPO_ROOT}/scripts/common_cmdline.sh"
|
||||||
|
|
||||||
SOLTMPDIR=$(mktemp -d)
|
SOLTMPDIR=$(mktemp -d)
|
||||||
|
|
||||||
set -e
|
|
||||||
cd "$SOLTMPDIR"
|
cd "$SOLTMPDIR"
|
||||||
|
|
||||||
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/docs/
|
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/docs/
|
||||||
|
@ -5,8 +5,6 @@ set -euo pipefail
|
|||||||
source "${REPO_ROOT}/scripts/common.sh"
|
source "${REPO_ROOT}/scripts/common.sh"
|
||||||
|
|
||||||
SOLTMPDIR=$(mktemp -d)
|
SOLTMPDIR=$(mktemp -d)
|
||||||
|
|
||||||
set -e
|
|
||||||
cd "$SOLTMPDIR"
|
cd "$SOLTMPDIR"
|
||||||
|
|
||||||
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/test/
|
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/test/
|
||||||
|
@ -4,7 +4,6 @@ set -euo pipefail
|
|||||||
# shellcheck source=scripts/common.sh
|
# shellcheck source=scripts/common.sh
|
||||||
source "${REPO_ROOT}/scripts/common.sh"
|
source "${REPO_ROOT}/scripts/common.sh"
|
||||||
|
|
||||||
SOLTMPDIR=$(mktemp -d)
|
|
||||||
set +e
|
set +e
|
||||||
output=$("$SOLC" --bin 2>&1)
|
output=$("$SOLC" --bin 2>&1)
|
||||||
result=$?
|
result=$?
|
||||||
@ -25,4 +24,3 @@ fi
|
|||||||
# This should not fail
|
# This should not fail
|
||||||
echo '' | msg_on_error --silent --msg "Incorrect response to --ast-compact-json option with empty stdin" \
|
echo '' | msg_on_error --silent --msg "Incorrect response to --ast-compact-json option with empty stdin" \
|
||||||
"$SOLC" --ast-compact-json -
|
"$SOLC" --ast-compact-json -
|
||||||
rm -r "$SOLTMPDIR"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user