[tests] Refactor scripts/ASTImportTest.sh. (#13576)

* [tests] Refactor scripts/ASTImportTest.sh.

Co-authored-by: Nuno Santos <nuno.santos@ethereum.org>
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
This commit is contained in:
Alexander Arlt
2022-11-24 16:16:16 +01:00
committed by GitHub
co-authored by Nuno Santos Kamil Śliwak
parent 0f3e7af30f
commit fe68200f30
3 changed files with 232 additions and 106 deletions
+2 -2
View File
@@ -668,11 +668,11 @@ SOLTMPDIR=$(mktemp -d)
)
rm -r "$SOLTMPDIR"
printTask "Testing AST import..."
printTask "Testing AST import/export..."
SOLTMPDIR=$(mktemp -d)
(
cd "$SOLTMPDIR"
if ! "$REPO_ROOT/scripts/ASTImportTest.sh"
if ! "$REPO_ROOT/scripts/ASTImportTest.sh" ast
then
rm -r "$SOLTMPDIR"
fail