cmdlineTests: Remove superfluous set and temporary dirs

This commit is contained in:
Kamil Śliwak
2023-06-02 16:10:40 +02:00
parent 00c2f511d3
commit 5c5f8e8dad
3 changed files with 0 additions and 6 deletions
@@ -7,8 +7,6 @@ source "${REPO_ROOT}/scripts/common.sh"
source "${REPO_ROOT}/scripts/common_cmdline.sh"
SOLTMPDIR=$(mktemp -d)
set -e
cd "$SOLTMPDIR"
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/docs/
@@ -5,8 +5,6 @@ set -euo pipefail
source "${REPO_ROOT}/scripts/common.sh"
SOLTMPDIR=$(mktemp -d)
set -e
cd "$SOLTMPDIR"
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/test/
@@ -4,7 +4,6 @@ set -euo pipefail
# shellcheck source=scripts/common.sh
source "${REPO_ROOT}/scripts/common.sh"
SOLTMPDIR=$(mktemp -d)
set +e
output=$("$SOLC" --bin 2>&1)
result=$?
@@ -25,4 +24,3 @@ fi
# This should not fail
echo '' | msg_on_error --silent --msg "Incorrect response to --ast-compact-json option with empty stdin" \
"$SOLC" --ast-compact-json -
rm -r "$SOLTMPDIR"