File: README.md

package info (click to toggle)
musescore-snapshot 3.2.s20190704%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 218,116 kB
  • sloc: cpp: 290,563; xml: 200,238; sh: 3,706; ansic: 1,447; python: 393; makefile: 222; perl: 82; pascal: 79
file content (27 lines) | stat: -rw-r--r-- 930 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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` and `gen.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`