Skip to content

Commit a9723b3

Browse files
committed
Exclude list for AST JSON tests
1 parent 71c22c6 commit a9723b3

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

scripts/ASTImportTest.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,15 @@ esac
209209
# boost_filesystem_bug specifically tests a local fix for a boost::filesystem
210210
# bug. Since the test involves a malformed path, there is no point in running
211211
# tests on it. See https://github.com/boostorg/filesystem/issues/176
212-
IMPORT_TEST_FILES=$(find "${TEST_DIRS[@]}" -name "*.sol" -and -not -name "boost_filesystem_bug.sol" -not -path "*/experimental/*")
212+
# In addition, exclude all experimental Solidity tests (new type inference system)
213+
EXCLUDE_FILES=(
214+
boost_filesystem_bug.sol
215+
pragma_experimental_solidity.sol
216+
)
217+
IMPORT_TEST_FILES=$(find "${TEST_DIRS[@]}" -name "*.sol" -and $(printf "! -name %s " ${EXCLUDE_FILES[@]}) -not -path "*/experimental/*")
218+
219+
echo $IMPORT_TEST_FILES
220+
exit
213221

214222
NSOURCES="$(echo "${IMPORT_TEST_FILES}" | wc -l)"
215223
echo "Looking at ${NSOURCES} .sol files..."

test/libsolidity/semanticTests/experimental/stub.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ contract C {
8585
}
8686
}
8787
// ====
88+
// EVMVersion: >=constantinople
89+
// ====
8890
// compileViaYul: true
8991
// ----
9092
// (): 0 -> 0

0 commit comments

Comments
 (0)