File: vg-nightly.sh

package info (click to toggle)
imagevis3d 2.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,872 kB
  • sloc: cpp: 53,586; sh: 788; ansic: 292; xml: 258; python: 35; makefile: 16
file content (20 lines) | stat: -rw-r--r-- 475 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
#!/bin/sh
# Run valgrind on the converter.  Intended for automatic operation.
. Scripts/util.sh

if ! test -f aneur.nrrd ; then
    wget http://www.sci.utah.edu/~tfogal/aneur.nrrd
fi

revs=$(revision)
echo "revision: ${revs}"
valgrind --leak-check=no --undef-value-errors=yes \
    --log-file="vg-log-${revs}" \
     CmdLineConverter/Build/UVFConverter \
        -f aneur.nrrd \
        -out tmp.uvf
if test $? -ne 0 ; then
    echo "Abnormal termination."
fi

rm -f tmp.uvf