@@ -69,20 +69,30 @@ async function testFixture(fixture) {
6969 test : { run : testBom . run } ,
7070 skip : ( testCase ) => ! FULL_TEST || testCase !== testCaseForSnapshot ,
7171 } ,
72+ // The following cases only need run if the parser is Slang
7273 {
7374 name : "ANTLR format" ,
7475 test : { run : testAntlrFormat . run } ,
75- skip : ( testCase ) => ! FULL_TEST || testCase !== testCaseForSnapshot ,
76+ skip : ( testCase ) =>
77+ ! FULL_TEST ||
78+ testCase !== testCaseForSnapshot ||
79+ testCase . parser !== "slang" ,
7680 } ,
7781 {
7882 name : "bytecode comparison" ,
7983 test : { run : testBytecodeCompare . run } ,
80- skip : ( testCase ) => ! FULL_TEST || testCase !== testCaseForSnapshot ,
84+ skip : ( testCase ) =>
85+ ! FULL_TEST ||
86+ testCase !== testCaseForSnapshot ||
87+ testCase . parser !== "slang" ,
8188 } ,
8289 {
8390 name : "variant coverage" ,
8491 test : { run : testVariantCoverage . run } ,
85- skip : ( testCase ) => ! FULL_TEST || testCase !== testCaseForSnapshot ,
92+ skip : ( testCase ) =>
93+ ! FULL_TEST ||
94+ testCase !== testCaseForSnapshot ||
95+ testCase . parser !== "slang" ,
8696 } ,
8797 ] ) {
8898 for ( const testCase of testCases ) {
0 commit comments