test: the include walk leaves out every bin/ and build/

IncludeWalkOutputs stages a library at a project's root, a program
beside it and one in a directory below it, a project of its own beside
the library with a project.cpp, and an include/ in the bin/ or build/ of
each, as a flatpak-builder tree leaves one. The include flags of both
programs hold the library's include/ and none of the others. Before the
fix every one of them was on the include path.
This commit is contained in:
Jorijn van der Graaf 2026-11-06 22:53:52 +01:00
commit da714a0121
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB
2 changed files with 85 additions and 0 deletions

View file

@ -246,6 +246,7 @@ extern "C" Configuration CrafterBuildProject(std::span<const std::string_view> a
cfg.AddTest("ModuleInterface").Dependencies({ CrafterBuildLib.get() });
cfg.AddTest("DependencyLink").Dependencies({ CrafterBuildLib.get() });
cfg.AddTest("SharedLibraryRuns").Dependencies({ CrafterBuildLib.get() });
cfg.AddTest("IncludeWalkOutputs").Dependencies({ CrafterBuildLib.get() });
cfg.AddTest("IncrementalInterfaceChange").Dependencies({ CrafterBuildLib.get() });
cfg.AddTest("TransitiveInterfaceChange").Dependencies({ CrafterBuildLib.get() });
cfg.AddTest("IncrementalHeaderChange").Dependencies({ CrafterBuildLib.get() });