mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Exclude list for AST JSON tests
This commit is contained in:
parent
f30c0ed1d3
commit
42cfbdcd14
@ -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..."
|
||||
|
@ -85,6 +85,8 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// EVMVersion: >=constantinople
|
||||
// ====
|
||||
// compileViaYul: true
|
||||
// ----
|
||||
// (): 0 -> 0
|
||||
|
Loading…
Reference in New Issue
Block a user