~ubuntu-branches/ubuntu/trusty/flac/trusty-proposed

« back to all changes in this revision

Viewing changes to test/test_libFLAC++.sh

  • Committer: Bazaar Package Importer
  • Author(s): Marc 'HE' Brockschmidt
  • Date: 2008-03-16 18:02:56 UTC
  • mfrom: (1.1.5 upstream) (8.1.2 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080316180256-qhf3wk704rp165pm
Tags: 1.2.1-1.2
* Non-maintainer upload.
* Fix gcc-4.3 FTBFS, patch by KiBi (Closes: #455304)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
3
#  FLAC - Free Lossless Audio Codec
4
 
#  Copyright (C) 2002,2003,2004,2005  Josh Coalson
 
4
#  Copyright (C) 2002,2003,2004,2005,2006,2007  Josh Coalson
5
5
#
6
6
#  This file is part the FLAC project.  FLAC is comprised of several
7
7
#  components distributed under difference licenses.  The codec libraries
40
40
 
41
41
run_test_libFLACpp ()
42
42
{
43
 
        if [ x"$FLAC__VALGRIND" = xyes ] ; then
44
 
                valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --logfile-fd=4 test_libFLAC++ $* 4>>test_libFLAC++.valgrind.log
 
43
        if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
 
44
                valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 test_libFLAC++ $* 4>>test_libFLAC++.valgrind.log
45
45
        else
46
46
                test_libFLAC++ $*
47
47
        fi