Skip to content

Commit

Permalink
Exclude list for AST JSON tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-matic committed Sep 5, 2023
1 parent 71c22c6 commit a9723b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scripts/ASTImportTest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,15 @@ esac
# boost_filesystem_bug specifically tests a local fix for a boost::filesystem
# bug. Since the test involves a malformed path, there is no point in running
# tests on it. See https://github.com/boostorg/filesystem/issues/176
IMPORT_TEST_FILES=$(find "${TEST_DIRS[@]}" -name "*.sol" -and -not -name "boost_filesystem_bug.sol" -not -path "*/experimental/*")
# In addition, exclude all experimental Solidity tests (new type inference system)
EXCLUDE_FILES=(
boost_filesystem_bug.sol
pragma_experimental_solidity.sol
)
IMPORT_TEST_FILES=$(find "${TEST_DIRS[@]}" -name "*.sol" -and $(printf "! -name %s " ${EXCLUDE_FILES[@]}) -not -path "*/experimental/*")

echo $IMPORT_TEST_FILES
exit

NSOURCES="$(echo "${IMPORT_TEST_FILES}" | wc -l)"
echo "Looking at ${NSOURCES} .sol files..."
Expand Down
2 changes: 2 additions & 0 deletions test/libsolidity/semanticTests/experimental/stub.sol
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ contract C {
}
}
// ====
// EVMVersion: >=constantinople
// ====
// compileViaYul: true
// ----
// (): 0 -> 0
Expand Down

0 comments on commit a9723b3

Please sign in to comment.