Files
breeze/mk/tests-checks.mk
waozi ef0de86e02
Cloudflare Pages / Build and verify the site (push) Successful in 3m29s
Integrate Breeze desktop, Android, and app updates
Use the verified dependency lock across native hosts and bundled apps. Preserve saved styles, local app reactivation, and offline packages while integrating the latest practice, Habits, Lumi, and figure preview updates.
2026-11-20 02:24:34 -03:00

102 lines
2.7 KiB
Makefile

# Source, asset and release tooling checks that make test runs.
.PHONY: fdroid-build-test
fdroid-build-test:
python3 tests/fdroid_build_test.py
.SILENT: package-check test font-bundle-check audio-test-fixture-check embedded-image-assets-check
package-check: package-sources-test
sh scripts/check-packages.sh
.PHONY: package-sources-test
package-sources-test:
python3 tests/package_sources_test.py
clean-text-api-check:
python3 scripts/check-clean-text-api.py src apps tests
.PHONY: button-api-check
button-api-check:
bash scripts/check-button-api.sh
# The checks the pre-push hook runs, for everything not yet on origin/master.
.PHONY: pre-push-check
pre-push-check:
python3 scripts/pre-push-checks.py --unpushed
.PHONY: version-test
version-test:
python3 tests/version_test.py
.PHONY: proof-test
# Deliberately broken implementations must be rejected by the laws.
proof-test: $(ZI2C_BIN)
sh tests/law_mutation_test.sh $(ZIRAN_BIN)
secret-check:
python3 ./scripts/check-secrets.py --working-tree
secret-check-history:
python3 ./scripts/check-secrets.py --history
embedded-image-assets-check: $(EMBEDDED_ASSETS_C)
bash ./tests/embedded_image_assets_test.sh
# An icon from a Kryon sheet Inbe does not ship shows "Missing image".
.PHONY: icon-sheets-check
icon-sheets-check: $(PACKAGES_MK)
python3 tests/icon_sheets_test.py $(KRYON_DIR)/src/ui/icon.zi
.PHONY: storage-literals-check
storage-literals-check:
python3 tests/storage_literals_test.py
bash ./scripts/check-storage-literals.sh
# Every test entry point in tests/ is run by a make target, workflow or script.
.PHONY: test-references-check
test-references-check:
python3 scripts/check-test-references.py
.PHONY: screenshot-scene-test
screenshot-scene-test:
bash ./tests/screenshot_scene_test.sh
.PHONY: narration-text-matcher-test
test: narration-text-matcher-test
narration-text-matcher-test:
python3 tests/narration_text_matcher_test.py
audio-test-fixture-check:
printf '%s %s\n' \
d1f25feccd8af5cfe22ca1ed6afa901a5f97cbf976b93fc46096a2bd83315034 \
test-fixtures/audio/autumn-sunset.mp3 | sha256sum -c - >/dev/null
font-bundle-check:
for font in $(FONT_FILES); do \
case "$$font" in \
$(KRYON_DIR)/fonts/noto/*) \
echo "Full Noto font must not be embedded: $$font"; \
exit 1; \
;; \
esac; \
done
.PHONY: package-size-test
package-size-test:
python3 tests/package_size_test.py
.PHONY: phone-check-gate-test
phone-check-gate-test:
python3 tests/phone_check_gate_test.py
.PHONY: release-tooling-test
release-tooling-test:
python3 tests/release_test.py
python3 tests/build_layout_test.py
python3 tests/file_size_test.py
.PHONY: play-screenshots-test
play-screenshots-test:
python3 tests/play_screenshots_test.py