Skip to content

Commit

Permalink
fixup! [libevmasm] Add support to import evm assembly json.
Browse files Browse the repository at this point in the history
  • Loading branch information
cameel committed Oct 20, 2023
1 parent 1eb8573 commit 1bae0e1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions test/cmdlineTests/~evmasm_import_export/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ set -euo pipefail
source "${REPO_ROOT}/scripts/common.sh"

SOLTMPDIR=$(mktemp -d -t "cmdline-test-evmasm-import-export-XXXXXX")
(
cd "$SOLTMPDIR"
if ! "$REPO_ROOT/scripts/ASTImportTest.sh" evm-assembly
then
rm -r "$SOLTMPDIR"
fail
fi
)
cd "$SOLTMPDIR"
if ! "$REPO_ROOT/scripts/ASTImportTest.sh" evm-assembly
then
rm -r "$SOLTMPDIR"
fail
fi
rm -r "$SOLTMPDIR"

0 comments on commit 1bae0e1

Please sign in to comment.