stable-diffusion.cpp/.gitignore
Claude a63eb329cc
test: cover the combined Windows package script
The test builds small fake zips with the file names of the release zips and
runs scripts/package_windows_cuda_vulkan.sh on them; it needs zip and unzip,
and no build, GPU or model. Checks:

- the package has one folder named like the zip, 26 entries, the programs and
  stable-diffusion.dll from the CUDA zip, only ggml-vulkan.dll from the Vulkan
  zip, the CUDA runtime DLLs and a LEGGIMI.txt that names the commit;
- no warning when the DLLs shared by the two builds have the same size, a
  warning when ggml-base.dll differs;
- the script can run twice in the same directory;
- it refuses a missing or doubled zip, zips of different commits, a Vulkan
  zip without ggml-vulkan.dll, a CUDA zip without ggml-cuda.dll, a runtime
  zip without cublas, a LEGGIMI.txt that a zip already has, and a file held by
  two zips, and it leaves no zip behind.

Each guard of the script was also taken out one at a time (11 variants): a
check fails for ten of them. The eleventh, the final comparison of the file
count, is a last-resort invariant that none of the fake inputs reaches.

The file is added to the allow-list of test/ in .gitignore and to
test/README.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EhZzDBkuuMp1jBf4WtEySC
2026-10-15 20:21:32 +02:00

36 lines
659 B
Text

build*/
cmake-build-*/
dist/
# Fork: the curated robustness suite is tracked; everything else in test/ stays local.
test/*
!test/README.md
!test/security_smoke.sh
!test/api_robustness.cpp
!test/pe_imports_test.cpp
!test/file_handle_pool_test.cpp
!test/model_loader_latency_test.cpp
!test/profile_test.cpp
!test/backend_fit_plan_test.cpp
!test/package_windows_cuda_vulkan_test.sh
!test/server_recovery_test.cpp
!test/server_cancel_e2e.py
!test/termico_test.py
!test/agenti_guardiano_test.py
!test/fuzz_model_loader.py
tests/
.vscode/
.idea/
.cache/
*.swp
*.bat
*.bin
*.exe
*.gguf
output*.png
models*
*.log
preview.png
.claude/
CLAUDE.local.md
.agents/
.codex/