xref: /aosp_15_r20/external/flac/test/generate_streams.sh (revision 600f14f40d737144c998e2ec7a483122d3776fbc)
1#!/bin/sh -e
2
3#  FLAC - Free Lossless Audio Codec
4#  Copyright (C) 2001-2009  Josh Coalson
5#  Copyright (C) 2011-2023  Xiph.Org Foundation
6#
7#  This file is part the FLAC project.  FLAC is comprised of several
8#  components distributed under different licenses.  The codec libraries
9#  are distributed under Xiph.Org's BSD-like license (see the file
10#  COPYING.Xiph in this distribution).  All other programs, libraries, and
11#  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
12#  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
13#  FLAC distribution contains at the top the terms under which it may be
14#  distributed.
15#
16#  Since this particular file is relevant to all components of FLAC,
17#  it may be distributed under the Xiph.Org license, which is the least
18#  restrictive of those mentioned above.  See the file COPYING.Xiph in this
19#  distribution.
20
21. ./common.sh
22
23PATH="$(pwd)/../src/test_streams:$PATH"
24PATH="$(pwd)/../objs/$BUILD/bin:$PATH"
25
26echo "Generating streams..."
27if [ ! -f wacky1.wav ] ; then
28	test_streams || die "ERROR during test_streams"
29fi
30