File: memcheck.bash

package info (click to toggle)
perceptualdiff 1.2-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,008 kB
  • ctags: 76
  • sloc: cpp: 948; sh: 100; makefile: 50
file content (11 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash -ex
#
# Run Valgrind memcheck on perceptualdiff.

VALGRIND="valgrind --error-exitcode=2 --quiet --leak-check=full \
    --track-origins=yes --gen-suppressions=all --suppressions=memcheck.supp"

$VALGRIND ./perceptualdiff test/cam_mb.tif test/cam_mb_ref.tif

$VALGRIND ./perceptualdiff --verbose --downsample 9 \
    test/fish1.png test/fish2.png