mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
346 B
Bash
Executable File
17 lines
346 B
Bash
Executable File
#!/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"
|