Commit 6bbf1e3
committed
Codegen: use one generated test file per directory
This collapses all generated test QL sources into a single one per
directory, using query predicates to run the different tests.
This should improve the time required to run generated tests.1 parent 3d9e2f5 commit 6bbf1e3
1,753 files changed
Lines changed: 7752 additions & 7850 deletions
File tree
- misc/codegen
- generators
- lib
- templates
- test
- rust/ql
- test/extractor-tests/generated
- Abi
- ArgList
- ArrayListExpr
- ArrayRepeatExpr
- ArrayTypeRepr
- AsmClobberAbi
- AsmConst
- AsmDirSpec
- AsmExpr
- AsmLabel
- AsmOperandExpr
- AsmOperandNamed
- AsmOptionsList
- AsmOption
- AsmRegOperand
- AsmRegSpec
- AsmSym
- AssocTypeArg
- Attr
- AwaitExpr
- BecomeExpr
- BinaryExpr
- BlockExpr
- BoxPat
- BreakExpr
- CallExpr
- CastExpr
- ClosureBinder
- ClosureExpr
- Comment
- ConstArg
- ConstBlockPat
- ConstParam
- Const
- ContinueExpr
- DynTraitTypeRepr
- Enum
- ExprStmt
- ExternBlock
- ExternCrate
- ExternItemList
- FieldExpr
- FnPtrTypeRepr
- ForExpr
- ForTypeRepr
- FormatArgsExpr
- Function
- GenericArgList
- GenericParamList
- IdentPat
- IfExpr
- ImplTraitTypeRepr
- Impl
- IndexExpr
- InferTypeRepr
- ItemList
- Label
- LetElse
- LetExpr
- LetStmt
- LifetimeArg
- LifetimeParam
- Lifetime
- LiteralExpr
- LiteralPat
- LoopExpr
- MacroBlockExpr
- MacroCall
- MacroDef
- MacroExpr
- MacroItems
- MacroPat
- MacroRules
- MacroTypeRepr
- MatchArmList
- MatchArm
- MatchExpr
- MatchGuard
- Meta
- MethodCallExpr
- Module
- NameRef
- Name
- NeverTypeRepr
- OffsetOfExpr
- OrPat
- ParamList
- Param
- ParenExpr
- ParenPat
- ParenTypeRepr
- ParenthesizedArgList
- Path
- PrefixExpr
- PtrTypeRepr
- RangeExpr
- RangePat
- RefExpr
- RefPat
- RefTypeRepr
- Rename
- RestPat
- RetTypeRepr
- ReturnExpr
- ReturnTypeSyntax
- SelfParam
- SlicePat
- SliceTypeRepr
- SourceFile
- Static
- StmtList
- StructExprFieldList
- StructExprField
- StructExpr
- StructFieldList
- StructField
- StructPatFieldList
- StructPatField
- StructPat
- Struct
- TokenTree
- TraitAlias
- Trait
- TryExpr
- TupleExpr
- TupleFieldList
- TupleField
- TuplePat
- TupleStructPat
- TupleTypeRepr
- TypeAlias
- TypeArg
- TypeBoundList
- TypeBound
- TypeParam
- UnderscoreExpr
- Union
- UseBoundGenericArgs
- UseTreeList
- UseTree
- Use
- VariantList
- Variant
- Visibility
- WhereClause
- WherePred
- WhileExpr
- WildcardPat
- YeetExpr
- YieldExpr
- swift/ql
- test/extractor-tests/generated
- AvailabilityInfo
- Diagnostics
- File
- KeyPathComponent
- decl
- Accessor
- AssociatedTypeDecl
- CapturedDecl
- ClassDecl
- ConcreteVarDecl
- EnumDecl
- ExtensionDecl
- IfConfigDecl
- ImportDecl
- MacroDecl
- ModuleDecl
- NamedFunction
- OpaqueTypeDecl
- ParamDecl
- PoundDiagnosticDecl
- expr
- AppliedPropertyWrapperExpr
- CopyExpr
- DotSyntaxCallExpr
- DynamicLookupExpr
- EnumIsCaseExpr
- ExtractFunctionIsolationExpr
- IdentityExpr
- ImplicitConversionExpr
- InitializerRefCallExpr
- KeyPathExpr
- MethodLookupExpr
- ObjectLiteralExpr
- OpenExistentialExpr
- PackExpansionExpr
- PostfixUnaryExpr
- PropertyWrapperValuePlaceholderExpr
- SingleValueStmtExpr
- TypeValueExpr
- stmt
- DiscardStmt
- FailStmt
- ForEachStmt
- PoundAssertStmt
- SwitchStmt
- type
- BuiltinIntegerType
- BuiltinType
- DynamicSelfType
- ExistentialType
- InOutType
- IntegerType
- ModuleType
- OpaqueTypeArchetypeType
- OpenedArchetypeType
- PackType
- ParameterizedProtocolType
- PrimaryArchetypeType
- ProtocolCompositionType
- TupleType
- UnmanagedStorageType
- UnownedStorageType
- VariadicSequenceType
- WeakStorageType
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | 375 | | |
381 | 376 | | |
382 | 377 | | |
| |||
625 | 620 | | |
626 | 621 | | |
627 | 622 | | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | 623 | | |
633 | 624 | | |
634 | 625 | | |
635 | | - | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
636 | 629 | | |
637 | 630 | | |
638 | 631 | | |
639 | 632 | | |
640 | 633 | | |
641 | 634 | | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | 635 | | |
652 | 636 | | |
653 | 637 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | 248 | | |
256 | 249 | | |
257 | 250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
8 | 24 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
15 | 30 | | |
16 | | - | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
960 | 960 | | |
961 | 961 | | |
962 | 962 | | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | 963 | | |
968 | 964 | | |
969 | 965 | | |
| |||
1041 | 1037 | | |
1042 | 1038 | | |
1043 | 1039 | | |
| 1040 | + | |
1044 | 1041 | | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
1045 | 1045 | | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
1046 | 1050 | | |
1047 | 1051 | | |
1048 | 1052 | | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | 1053 | | |
1070 | 1054 | | |
1071 | 1055 | | |
| |||
1090 | 1074 | | |
1091 | 1075 | | |
1092 | 1076 | | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
1093 | 1080 | | |
1094 | 1081 | | |
1095 | 1082 | | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
1102 | 1083 | | |
1103 | 1084 | | |
1104 | 1085 | | |
| |||
0 commit comments