1 module tests.test_main;
2 
3 import unit_threaded.runner.runner;
4 
5 version(dpp2) {
6     mixin runTestsMain!(
7         // unit tests
8 
9         "ut.translation.type.primitives",
10         "ut.translation.type.array",
11         "ut.translation.type.pointer",
12 
13         "ut.translation.node.structs",
14 
15         "ut.transform.clang",
16         "ut.transform.cursor",
17         "ut.transform.type",
18 
19         // integration tests
20         "it.c.compile.struct_",
21     );
22 } else {
23     mixin runTestsMain!(
24         // in-file
25         "dpp.runtime",
26         "dpp.translation",
27         "dpp.expansion",
28 
29         // unit tests
30         "ut.old.type",
31         "ut.expansion",
32 
33         // contract tests
34         "contract.array",
35         "contract.templates",
36         "contract.namespace",
37         "contract.macro_",
38         "contract.constexpr",
39         "contract.typedef_",
40         "contract.operators",
41         "contract.member",
42         "contract.aggregates",
43         "contract.inheritance",
44         "contract.issues",
45         "contract.methods",
46         "contract.functions",
47         "contract.enums",
48 
49         "it.issues",
50         "it.expansion",
51         "it.docs",
52 
53         // C tests
54         "it.c.compile.preprocessor",
55         "it.c.compile.struct_",
56         "it.c.compile.union_",
57         "it.c.compile.array",
58         "it.c.compile.enum_",
59         "it.c.compile.typedef_",
60         "it.c.compile.function_",
61         "it.c.compile.projects",
62         "it.c.compile.runtime_args",
63         "it.c.compile.collision",
64         "it.c.compile.extensions",
65         "it.c.run.struct_",
66         "it.c.run.c",
67 
68         // tests copied from dstep
69         "it.c.dstep.ut",
70         "it.c.dstep.functional",
71         "it.c.dstep.issues",
72 
73         // C++ tests
74         "it.cpp.run",
75         "it.cpp.function_",
76         "it.cpp.class_",
77         "it.cpp.templates",
78         "it.cpp.misc",
79         "it.cpp.opaque",
80     );
81 }