> Le 15 nov. 2022 à 01:08, Paolo Prete <paolopr...@gmail.com> a écrit :
> 
> Hello,
> 
> I need to execute the following automated test:
> given a .ly file, I would like to check if the produced output is what I
> expect it to be.
> Then I was thinking about a way to compare the output (doesn't matter if
> PDF or SVG) with an expected image of the same file type, and check if the
> two images are the same.
> There are several ways to do that: for example a Python script with a
> graphic library such as Pillow, which compares two images.
> However, I wonder if this test task is already done somewhere in LP with
> some embedded or suggested tool or procedure. Any hint?


The regression testing infrastructure uses the compare command from 
ImageMagick. See scripts/build/output-distance.py.

Best,
Jean



Reply via email to