mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
The real-file corpus tests the Linux gate runs took up to 394 s each (the psd-tools mutation sweep), 780 test-s together. Each now walks a fixed sample chosen for coverage (photocraft-testkit `corpus`: every colour mode and depth, PSD and PSB, the block kinds outside the large files, each oracle kind, smart objects, vector blocks, type) and stays under a second. PHOTOCRAFT_FULL_SWEEP=1, the switch the testkit sweeps already read, takes every file; the nightly run sets it. - Oracles keep floors for the sample next to the full floors. - The mutation sweep cuts and corrupts each sampled file 12 times instead of 31. - The layered TIFF test takes the psd-tools sample. - The smart-object test imports only files with a placed-layer block (full sweep: 32 s to 5 s). - The blend-mode tests import once and render only the compared cells. - The 16.8 MP spot-channel file runs in full sweeps only; the generated files check the same reading. - The #1606 special-shapes test is the affinity table's row for that file plus its warning check. Part of #15711
13 lines
316 B
Rust
13 lines
316 B
Rust
//! photocraft-testkit
|
|
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
|
|
|
|
pub mod corpus;
|
|
pub mod gpu;
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
pub mod perf;
|
|
pub mod sweep;
|
|
|
|
pub use corpus::full_sweep;
|
|
pub use gpu::gpu_lock;
|
|
pub use sweep::Sweep;
|