Commit 0551526
authored
xtask with Kompari (#1019)
This PR adds xtask similar to
linebender/parley#272 for Parley.
Because Vello has two types of tests: snapshots and comparisons (cpu vs.
gpu),
xtask is divided to two subcommands:
```
cargo xtask snapshots ...
cargo xtask comparisons ...
```
The first one offers all Kompari's functionality (report, review,
size-check, dead-snapshots detection).
The second one offers only report as others do not make sense.
Btw1: Current size check output:

Btw2: Current dead snapshots report (This may be broken as some tests
are skipped on my machine)
```
/home/ada/projects/vello/vello_tests/current/big_bitmap.png
/home/ada/projects/vello/vello_tests/current/big_bitmap_apple.png
/home/ada/projects/vello/vello_tests/current/big_colr.png
/home/ada/projects/vello/vello_tests/current/bitmap_undef.png
/home/ada/projects/vello/vello_tests/current/blurred_rounded_rect.png
/home/ada/projects/vello/vello_tests/current/colr_undef.png
/home/ada/projects/vello/vello_tests/current/deep_blend.png
/home/ada/projects/vello/vello_tests/current/fill_types.png
/home/ada/projects/vello/vello_tests/current/funky_paths.png
/home/ada/projects/vello/vello_tests/current/gradient_extend.png
/home/ada/projects/vello/vello_tests/current/image_extend_modes_bilinear.png
/home/ada/projects/vello/vello_tests/current/image_extend_modes_nearest_neighbor.png
/home/ada/projects/vello/vello_tests/current/image_sampling.png
/home/ada/projects/vello/vello_tests/current/integer_translation.png
/home/ada/projects/vello/vello_tests/current/little_bitmap.png
/home/ada/projects/vello/vello_tests/current/little_colr.png
/home/ada/projects/vello/vello_tests/current/longpathdash_butt.png
/home/ada/projects/vello/vello_tests/current/many_clips.png
/home/ada/projects/vello/vello_tests/current/non_integer_translation.png
/home/ada/projects/vello/vello_tests/current/rounded_rectangle_watertight.png
/home/ada/projects/vello/vello_tests/current/scaled_hinted.png
/home/ada/projects/vello/vello_tests/current/simple_hinted.png
/home/ada/projects/vello/vello_tests/current/smoke/data_image_roundtrip.png
/home/ada/projects/vello/vello_tests/current/smoke/filled_circle.png
/home/ada/projects/vello/vello_tests/current/smoke/filled_square.png
/home/ada/projects/vello/vello_tests/current/smoke/two_emoji.png
/home/ada/projects/vello/vello_tests/current/splash.png
/home/ada/projects/vello/vello_tests/current/stroke_styles.png
/home/ada/projects/vello/vello_tests/current/stroke_styles_non_uniform.png
/home/ada/projects/vello/vello_tests/current/stroke_styles_skew.png
/home/ada/projects/vello/vello_tests/current/tricky_strokes.png
```1 parent 4d705c7 commit 0551526
File tree
8 files changed
+702
-3
lines changed- .cargo
- .github/workflows
- vello_tests/src
- xtask
- src
8 files changed
+702
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments