test: header-change incrementality across every compile path
Some checks failed
CI / build-test-release (pull_request) Failing after 12m4s
Some checks failed
CI / build-test-release (pull_request) Failing after 12m4s
One header per pass, asserting both directions — the objects that include it recompile, the ones that don't are untouched — then running the binary, since "was recompiled" only matters if the program agrees with itself. Covers the module interface (a macro in its global module fragment decides an exported class's layout), the implementation unit, a C source, an idle rebuild that must recompile nothing, and an object whose depfile is gone. The implementation unit's header has a space in its name so the depfile spells it escaped.
This commit is contained in:
parent
f66120a8eb
commit
7975cb1df8
12 changed files with 317 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
// SPDX-License-Identifier: LGPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// Copied over lib/widget-layout.h mid-test: one more slot in the exported
|
||||
// class. Kept as a .h.in so the original header is the only one any source
|
||||
// #includes.
|
||||
#pragma once
|
||||
|
||||
#define WIDGET_SLOTS 2
|
||||
Loading…
Reference in a new issue