Skip to content

Commit d80059f

Browse files
committed
Skip certain test for grammar test.
1 parent e877e2b commit d80059f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/test_antlr_grammar.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,12 @@ done < <(
117117
"^\/\/ (Syntax|Type|Declaration)Error|^\/\/ ParserError (1684|2837|3716|3997|5333|6275|6281|6933|7319)|^==== Source:" \
118118
"${ROOT_DIR}/test/libsolidity/syntaxTests" \
119119
"${ROOT_DIR}/test/libsolidity/semanticTests" |
120-
grep -v -E 'comments/.*_direction_override.*.sol' |
121-
grep -v -E 'literals/.*_direction_override.*.sol'
122120
# Skipping the unicode tests as I couldn't adapt the lexical grammar to recursively counting RLO/LRO/PDF's.
121+
grep -v -E 'comments/.*_direction_override.*.sol' |
122+
grep -v -E 'literals/.*_direction_override.*.sol' |
123+
# Skipping a test with "revert E;" because ANTLR cannot distinguish it from
124+
# a variable declaration.
125+
grep -v -E 'revertStatement/non_called.sol'
123126
)
124127

125128
YUL_FILES=()

0 commit comments

Comments
 (0)