[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automated test on PDF or SVG output

From: Jean Abou Samra
Subject: Re: Automated test on PDF or SVG output
Date: Tue, 15 Nov 2022 01:13:58 +0100

> Le 15 nov. 2022 à 01:08, Paolo Prete <> 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/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]