c27d0e62d5
Use msvc.install by default. To use it with mingw, you need to run "gen.bat win32install" Replace mistaken .mscz with .mscx
930 B
930 B
MuseScore Visual Tests
The shell script "gen" creates a subdirectory html
with the
HTML file vtest.html
for visual compare including all needed
image files.
Travis generates this too and then uploads to http://vtest.musescore.org/index.html
Requirements
In order to generate the diff between the reference
file and the generated one, Image Magick needs to be
installed and "compare" should be in the PATH
.
Add a new test
- clone a mscx test file into
xxx.mscz
- create the test by editing the
xxx.mscx
file - create reference PNG
xxx-ref.png
: mscore xxx.mscx -o -r 130 xxx-ref.png - add the file to
gen
andgen.bat
How to use on Windows
- Install Image Magick, add it to PATH
- Run
gen.bat
. It will use msvc.install as a default folder to search MuseScore.exe. If you use mingw build, specify the path to install folder manually:gen.bat win32install