From 385142e80582258c348d1a645ffbe8fbcb88db9e Mon Sep 17 00:00:00 2001 From: Alexander Arlt Date: Mon, 5 Jun 2023 17:21:41 +0200 Subject: [PATCH] Rebase. --- test/cmdlineTests/~evmasm_import_export/test.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 test/cmdlineTests/~evmasm_import_export/test.sh diff --git a/test/cmdlineTests/~evmasm_import_export/test.sh b/test/cmdlineTests/~evmasm_import_export/test.sh new file mode 100755 index 000000000..60cbe29f1 --- /dev/null +++ b/test/cmdlineTests/~evmasm_import_export/test.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +set -euo pipefail + +# shellcheck source=scripts/common.sh +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 +) +rm -r "$SOLTMPDIR"