commit 0fc217c3273ef0e004a8614b86150d92de6de1a4
parent 46514dd56c9fd6ed6c368fb521e84a0522599f2f
Author: triesap <tyson@radroots.org>
Date: Tue, 11 Aug 2026 03:50:54 +0000
test: include build logic in qualification lanes
- make source qualification test the included build logic
- make integration qualification test the included build logic
- preserve the focused product test loop and explicit modes
- prove each qualification lane invokes build logic exactly once
Diffstat:
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -108,7 +108,7 @@ host-package-check: doctor
governed-package-check:
$(MAKE) --no-print-directory BUILD_MODE=governed host-package-check
-source-check: check bindings licenses
+source-check: build-logic-check check bindings licenses
$(BUILD_RUNNER) $(GRADLE) --no-daemon :app:desktop:sourceReadiness
governed-source-check:
@@ -117,7 +117,7 @@ governed-source-check:
package-check: source-check
$(BUILD_RUNNER) $(GRADLE) --no-daemon :app:desktop:packageReadiness
-integration-check: check
+integration-check: build-logic-check check
$(BUILD_RUNNER) $(GRADLE) --no-daemon :app:desktop:integrationTest :app:desktop:verifyTestBridgeIsolation
governed-integration-check:
diff --git a/tools/test-build-modes.sh b/tools/test-build-modes.sh
@@ -18,6 +18,17 @@ if printf '%s\n' "$standalone_output" | grep -q 'cargo extbuild'; then
exit 1
fi
+for lane in source-check integration-check; do
+ for mode in standalone governed; do
+ lane_output=$(PATH="$fixture:$PATH" "$make_command" --no-print-directory -n BUILD_MODE="$mode" -C "$repository_root" "$lane")
+ build_logic_count=$(printf '%s\n' "$lane_output" | grep -c -- '-p build-logic')
+ if [ "$build_logic_count" -ne 1 ]; then
+ printf '%s\n' "$lane in $mode mode must invoke build-logic verification exactly once" >&2
+ exit 1
+ fi
+ done
+done
+
if "$make_command" --no-print-directory -C "$repository_root" BUILD_MODE=unsupported help > "$fixture/unknown.log" 2>&1; then
printf '%s\n' 'unknown build mode was accepted' >&2
exit 1