File: testsuite.diff

package info (click to toggle)
musescore2 2.3.2%2Bdfsg4-16
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 170,464 kB
  • sloc: cpp: 262,612; xml: 176,707; sh: 3,377; ansic: 1,246; python: 356; makefile: 227; perl: 82; pascal: 78
file content (18 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Log vtest comparison in machine-parsable format
Author: mirabilos <tg@debian.org>
Forwarded: https://github.com/musescore/MuseScore/pull/4648
Applied-Upstream: master, commit:9275e77, v3.0.3

--- a/vtest/gen
+++ b/vtest/gen
@@ -76,8 +76,8 @@ $MSCORE -f -j $JSON_FILE -r $DPI 2> LOG
 echo "Compare PNG files and references"
 for src in $SRC; do
       cp ../$src-ref.png .
-      compare $src-1.png $src-ref.png $src-diff.png
-      done
+      compare -verbose -metric AE $src-1.png $src-ref.png $src-diff.png
+      done 2>&1 | tee /dev/stderr | fgrep -e Image: -e all: >LOG-compare
 
 echo "Generate report"
 F=vtest.html