File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,12 @@ class LexerTests: XCTestCase {
75
75
}
76
76
77
77
func testLexSpectest( ) throws {
78
+ // NOTE: We do the same check as a part of the EncoderTests, so it's
79
+ // usually redundant and time-wasting to run this test every time.
80
+ // Keeping it here just for local unit testing purposes.
81
+ try XCTSkipIf (
82
+ ProcessInfo . processInfo. environment [ " WASMKIT_LEXER_SPECTEST " ] != " 1 "
83
+ )
78
84
var failureCount = 0
79
85
for filePath in Spectest . wastFiles ( ) {
80
86
print ( " Lexing \( filePath. path) ... " )
Original file line number Diff line number Diff line change @@ -178,6 +178,12 @@ class ParserTests: XCTestCase {
178
178
}
179
179
180
180
func testParseSpectest( ) throws {
181
+ // NOTE: We do the same check as a part of the EncoderTests, so it's
182
+ // usually redundant and time-wasting to run this test every time.
183
+ // Keeping it here just for local unit testing purposes.
184
+ try XCTSkipIf (
185
+ ProcessInfo . processInfo. environment [ " WASMKIT_PARSER_SPECTEST " ] != " 1 "
186
+ )
181
187
var failureCount = 0
182
188
var totalCount = 0
183
189
for filePath in Spectest . wastFiles ( include: [ ] ) {
You can’t perform that action at this time.
0 commit comments