test(build): interface units that import each other are refused
ImportCycle builds three fixtures as static libraries, each on a fresh copy outside the checkout: two partitions that import each other, a partition that imports its own module, and two modules that import each other. Each build has to return an error that holds its round, "Ring:First -> Ring:Second -> Ring:First", "Own -> Own:Part -> Own" and "East -> West -> East", and leave neither a build nor a bin directory. Before the refusal the test ran into its timeout: the first of those builds never returned.
This commit is contained in:
parent
e87dc4f015
commit
ee331377a4
9 changed files with 126 additions and 0 deletions
|
|
@ -332,6 +332,7 @@ extern "C" Configuration CrafterBuildProject(std::span<const std::string_view> a
|
|||
cfg.AddTest("DependencyNotes").Dependencies({ CrafterBuildLib.get() })
|
||||
.LinkFlag("-Wl,--export-dynamic").LinkFlag("-ldl");
|
||||
cfg.AddTest("ConcurrentDependencyReset").Dependencies({ CrafterBuildLib.get() });
|
||||
cfg.AddTest("ImportCycle").Dependencies({ CrafterBuildLib.get() });
|
||||
cfg.AddTest("Lint").Dependencies({ CrafterBuildLib.get() });
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue