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