~ubuntu-branches/ubuntu/saucy/flac/saucy

« back to all changes in this revision

Viewing changes to test/test_streams.sh

  • Committer: Package Import Robot
  • Author(s): Fabian Greffrath
  • Date: 2013-06-07 10:24:30 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20130607102430-8xn8qdlir5gmdo4m
Tags: 1.3.0-1
* Imported Upstream version 1.3.0 (Closes: #527542, #705601).
* Update debian/watch file, thanks Ulrich Klauer (Closes: #710062).
* Revert "Remove manpages from master branch."
* Imported Upstream version 1.3.0
* Convert package to "3.0 (quilt)" source format.
* Remove all patches, they have either been merged upstream or do not
  apply anymore (tested).
* Explicitly enable static libraries.
* Simplify debian/libflac-doc.install.
* Bump shlibs for added symbols.
* Remove needless Build-Depends: libid3-3.8.3-dev.
* Update Homepage field.
* Repair upstream manpage regeneration rule.
* Bump Build-Depends: debhelper (>= 9).
* Fix vcs-field-not-canonical.
* Import two patches from upstream GIT:
  + Add missing config.h includes.
  + Fix local_strcat() to terminate string correctly.
* Disable 3DNow! optimizations, enable SSE only on amd64, enable Altivec
  only on ppc64, disable ASM optimizations elsewhere.

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) 2001,2002,2003,2004,2005,2006,2007  Josh Coalson
 
4
#  Copyright (C) 2001-2009  Josh Coalson
 
5
#  Copyright (C) 2011-2013  Xiph.Org Foundation
5
6
#
6
7
#  This file is part the FLAC project.  FLAC is comprised of several
7
 
#  components distributed under difference licenses.  The codec libraries
 
8
#  components distributed under different licenses.  The codec libraries
8
9
#  are distributed under Xiph.Org's BSD-like license (see the file
9
10
#  COPYING.Xiph in this distribution).  All other programs, libraries, and
10
11
#  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
29
30
        BUILD="$1"
30
31
fi
31
32
 
32
 
LD_LIBRARY_PATH=../obj/$BUILD/lib:$LD_LIBRARY_PATH
 
33
LD_LIBRARY_PATH=../objs/$BUILD/lib:$LD_LIBRARY_PATH
33
34
export LD_LIBRARY_PATH
 
35
export MALLOC_CHECK_=3
 
36
export MALLOC_PERTURB_=$((RANDOM % 255 + 1))
34
37
PATH=../src/flac:$PATH
35
38
PATH=../src/test_streams:$PATH
36
 
PATH=../obj/$BUILD/bin:$PATH
 
39
PATH=../objs/$BUILD/bin:$PATH
37
40
 
38
41
if [ x"$FLAC__TEST_LEVEL" = x ] ; then
39
42
        FLAC__TEST_LEVEL=1
44
47
run_flac ()
45
48
{
46
49
        if [ x"$FLAC__TEST_WITH_VALGRIND" = xyes ] ; then
47
 
                echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=100 flac $*" >>test_streams.valgrind.log
48
 
                valgrind --leak-check=yes --show-reachable=yes --num-callers=100 --log-fd=4 flac $* 4>>test_streams.valgrind.log
 
50
                echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_streams.valgrind.log
 
51
                valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac $* 4>>test_streams.valgrind.log
49
52
        else
50
53
                flac $*
51
54
        fi