mirror of
https://github.com/alexkay/spek.git
synced 2025-06-09 20:02:19 +03:00
Fix make distcheck
This commit is contained in:
parent
5a898881cd
commit
602f712b9f
@ -20,7 +20,8 @@ EXTRA_DIST = \
|
|||||||
lic/libtiff \
|
lic/libtiff \
|
||||||
lic/regex \
|
lic/regex \
|
||||||
lic/wxWindows \
|
lic/wxWindows \
|
||||||
lic/zlib
|
lic/zlib \
|
||||||
|
tests/samples
|
||||||
|
|
||||||
DISTCLEANFILES = \
|
DISTCLEANFILES = \
|
||||||
intltool-extract \
|
intltool-extract \
|
||||||
|
@ -15,6 +15,7 @@ test_SOURCES = \
|
|||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-include config.h \
|
-include config.h \
|
||||||
-I$(top_srcdir)/src \
|
-I$(top_srcdir)/src \
|
||||||
|
-DSAMPLES_DIR=\"$(srcdir)/samples\" \
|
||||||
-pthread \
|
-pthread \
|
||||||
$(WX_CPPFLAGS)
|
$(WX_CPPFLAGS)
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ struct FileInfo
|
|||||||
static void test_file(const std::string& name, const FileInfo& info)
|
static void test_file(const std::string& name, const FileInfo& info)
|
||||||
{
|
{
|
||||||
Audio audio;
|
Audio audio;
|
||||||
auto file = audio.open("samples/" + name);
|
auto file = audio.open(SAMPLES_DIR "/" + name);
|
||||||
test("error", AudioError::OK, file->get_error());
|
test("error", AudioError::OK, file->get_error());
|
||||||
test("codec", info.codec_name, file->get_codec_name());
|
test("codec", info.codec_name, file->get_codec_name());
|
||||||
test("bit rate", info.bit_rate, file->get_bit_rate());
|
test("bit rate", info.bit_rate, file->get_bit_rate());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user