cmdlineTests: Remove superfluous set and temporary dirs

This commit is contained in:
Kamil Śliwak 2023-06-01 20:13:35 +02:00
parent 00c2f511d3
commit 5c5f8e8dad
3 changed files with 0 additions and 6 deletions

View File

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

View File

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

View File

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