Exclude list for AST JSON tests

This commit is contained in:
Nikola Matic 2023-09-05 09:06:01 +02:00
parent f30c0ed1d3
commit 42cfbdcd14
2 changed files with 11 additions and 1 deletions

View File

@ -209,7 +209,15 @@ esac
# boost_filesystem_bug specifically tests a local fix for a boost::filesystem # 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 # 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 # 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)" NSOURCES="$(echo "${IMPORT_TEST_FILES}" | wc -l)"
echo "Looking at ${NSOURCES} .sol files..." echo "Looking at ${NSOURCES} .sol files..."

View File

@ -85,6 +85,8 @@ contract C {
} }
} }
// ==== // ====
// EVMVersion: >=constantinople
// ====
// compileViaYul: true // compileViaYul: true
// ---- // ----
// (): 0 -> 0 // (): 0 -> 0