Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

Carry #1636: document test-corpus --pixls

Claudebeb80bc5dcc4
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 9399c7461..50f3b6b13 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -29,9 +29,10 @@ commands:
show where test corpora live and their pins (xtask/src/corpus_pins.rs), or fetch
them into corpus/ (pinned commits, sha256-verified; --all = every corpus but pixls,
--photoshop --local copies from ../photocraft-corpus or $PHOTOCRAFT_CORPUS_REPO)
- test-corpus [-p <crate>]... [--changed] [--local] [-- <test args>]
+ test-corpus [-p <crate>]... [--changed] [--pixls] [--local] [-- <test args>]
fetch every corpus, then cargo test --release --features corpus on the corpus
- crates; --changed runs only if psd/io/codecs/compose/gpu/text/format changed;
+ crates; --changed runs only if psd/io/codecs/compose/gpu/text/format/raw changed;
+ --pixls (or -p raw) also fetches corpus/pixls and runs the raw corpus tests;
--local takes corpus/photoshop from the photocraft-corpus authoring clone
stats [--exact] count tests and lines per crate (--exact: ask the test harness via `-- --list`)
parity Photoshop menu parity; rewrites docs/parity.md