Displaying 20 results from an estimated 82 matches for "test_streams".
2016 Jan 31
3
test_streams dependencies
test_streams currently depends on grabbag and (on Windows) on win_utf8_io libs.
It depends on win_utf8_io only because it uses flac_fopen() function.
It will become to depend on libFLAC when all file functions will be moved
from win_utf8_io to libFLAC. Not a big problem, but it is possible to avoid
this depen...
2016 Jan 31
2
test_streams dependencies
...to call flac_fopen() so that it is portable to every operating system, even those without fopen(). If you replace flac_fopen() with fopen(), then the tests won't compile on systems that don't have fopen().
I REALLY doubt it. Even if such systems exist, there's little reason
to support test_streams on them.
fopen() was changed to flac_fopen() here:
https://git.xiph.org/?p=flac.git;a=commitdiff;h=5705b4d7b2c3c5311138e9f4b66658c51f3cc22b#patch64
as a part of "Huge Windows utf8 I/O patch from Janne Hyv?rinen".
> You could simply have the following:
>
> #if defined _MSC_VER |...
2016 Jan 31
0
test_streams dependencies
...em, even those without fopen(). If you replace flac_fopen() with fopen(), then the tests won't compile on systems that don't have fopen().
You could simply have the following:
#if defined _MSC_VER || defined __MINGW32__
#define flac_fopen fopen
#endif
In a header, or simply at the top of test_streams/main.c where there's already some conditional compilation.
Brian
On Jan 31, 2016, at 7:45 AM, lvqcl <lvqcl.mail at gmail.com> wrote:
> test_streams currently depends on grabbag and (on Windows) on win_utf8_io libs.
> It depends on win_utf8_io only because it uses flac_fopen() fun...
2016 Feb 01
1
[PATCH] test_streams fopen()
test_streams doesn't create/open files with non-ascii filenames,
so there's no need in unicode support.
The patch changes flac_fopen() calls to fopen(), and removes
dependency of test_streams from win_utf8_io.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_stre...
2016 Jan 31
0
test_streams dependencies
...hout depending upon any specific system. I assumed that flac_fopen() came from that design pattern.
If it's really only a few years old, and not original, then changing it back should be fine.
A bigger question might be: how are file opens handled in most flac code? It's probably best for test_streams to be consistent.
Brian
p.s. You mentioned that flac_fopen() makes test_streams dependent upon libFLAC, but I do not understand why that is a problem. Doesn't the test software have to link to the flac libraries in order to test them?
On Jan 31, 2016, at 1:01 PM, lvqcl <lvqcl.mail at gma...
2015 Feb 23
1
[PATCH] for test_streams
src/test_streams/main.c fails under MSVC because it doesn't
provide snprintf().
The patch replaces snprintf() with flac_snprintf().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_streams.patch
Type: application/octet-stream
Size: 486 bytes
Desc: not available
Url : htt...
2017 Jan 15
0
[PATCH 2/2] Only compile and run tests when running 'make check'
---
src/test_grabbag/cuesheet/Makefile.am | 2 +-
src/test_grabbag/picture/Makefile.am | 2 +-
src/test_libFLAC++/Makefile.am | 2 +-
src/test_libFLAC/Makefile.am | 2 +-
src/test_seeking/Makefile.am | 2 +-
src/test_streams/Makefile.am | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/test_grabbag/cuesheet/Makefile.am b/src/test_grabbag/cuesheet/Makefile.am
index 96030407..59ae71f4 100644
--- a/src/test_grabbag/cuesheet/Makefile.am
+++ b/src/test_grabbag/cuesheet/Makefile.am
@@ -23,7...
2012 Apr 18
3
[PATCH 3/3] export MALLOC_PERTURB_ and MALLOC_CHECK_ in test suite
...on memory errors and will save us from a lot pain.
---
test/test_bins.sh | 2 ++
test/test_flac.sh | 2 ++
test/test_grabbag.sh | 2 ++
test/test_libFLAC++.sh | 2 ++
test/test_libFLAC.sh | 3 +++
test/test_metaflac.sh | 2 ++
test/test_seeking.sh | 2 ++
test/test_streams.sh | 2 ++
8 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/test/test_bins.sh b/test/test_bins.sh
index 55a0b8a..9b1fa0f 100755
--- a/test/test_bins.sh
+++ b/test/test_bins.sh
@@ -37,6 +37,8 @@ LD_LIBRARY_PATH=../src/share/replaygain_synthesis/.libs:$LD_LIBRARY_PATH
LD_LIBRARY_...
2019 Aug 01
0
[PATCH v2 10/11] vsock_test: skip read() in test_stream*close tests on a VMCI host
When VMCI transport is used, if the guest closes a connection,
all data is gone and EOF is returned, so we should skip the read
of data written by the peer before closing the connection.
Reported-by: Jorgen Hansen <jhansen at vmware.com>
Signed-off-by: Stefano Garzarella <sgarzare at redhat.com>
---
tools/testing/vsock/vsock_test.c | 26 ++++++++++++++++++++++++--
1 file changed, 24
2007 Sep 14
4
Testing 24-bit full-scale deflection streams fails
...$ ./configure(d) and $
make(d) without any errors or warnings. However I get the following error
when $ make check(ing):
> Testing 24-bit full-scale deflection streams...
> fsd24-01 (--channels=1 --bps=24 -0 -l 16 --lax -m -e -p): encode...ERROR
> during encode of fsd24-01
> FAIL: ./test_streams.sh
> ===================
> 2 of 7 tests failed
> ===================
Using KUbuntu 7.04 x86_64 using following command:
$ ./configure && make && make check && sudo make install
(Which by the way works perfectly on flac 1.1.4.)
Let me know what other data is requir...
2019 Aug 01
1
[PATCH v2 10/11] vsock_test: skip read() in test_stream*close tests on a VMCI host
Hello!
On 08/01/2019 06:25 PM, Stefano Garzarella wrote:
> When VMCI transport is used, if the guest closes a connection,
> all data is gone and EOF is returned, so we should skip the read
> of data written by the peer before closing the connection.
>
> Reported-by: Jorgen Hansen <jhansen at vmware.com>
> Signed-off-by: Stefano Garzarella <sgarzare at redhat.com>
2013 Apr 21
0
[PATCH] Reduce valgrind num-callers to 50
...of a stack trace
---
test/test_bins.sh | 4 ++--
test/test_flac.sh | 8 ++++----
test/test_grabbag.sh | 8 ++++----
test/test_libFLAC++.sh | 2 +-
test/test_libFLAC.sh | 2 +-
test/test_metaflac.sh | 12 ++++++------
test/test_seeking.sh | 12 ++++++------
test/test_streams.sh | 4 ++--
8 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/test/test_bins.sh b/test/test_bins.sh
index 65ba6e2..92d6693 100755
--- a/test/test_bins.sh
+++ b/test/test_bins.sh
@@ -52,8 +52,8 @@ flac --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac e...
2014 Nov 30
4
awk vs. mawk
...a delimiter of an empty string.
But that's where my incoplete knowledge of AWK chimes in.
Anyway, the whole point of that AWK script is to produce a raw sine wave.
Why are we doing it with AWK in the first place? Surely the FLAC
distrubution contains tools to produce test sine waves,
e.g. src/test_streams/main.c contains some, used in test_streams.sh.
Can we make test_replaygain.sh also use the produced sine waves,
instead of generating its own with AWK?
Anyway, below is a patch to test_replaygain.sh
that replaces the current AWK script with a simpler one.
Is there a specific point in making the st...
2005 Feb 01
3
FLAC 1.1.2-beta: attn package maintainers
The FLAC 1.1.2 release candidate is now available at
http://prdownloads.sourceforge.net/flac/flac-1.1.2-beta.tar.gz?download
Only the source tarball is available. I am putting out the beta
first so that package maintainers and others can smoke test the
build/install/check process before the official one goes out,
since we've had problems before. Everyone that can, please
download and try:
2012 Dec 26
0
[PATCH] Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build system
Hello,
This is a patch to allow building of the project using MSYS, MinGW, and
MinGW-w64 with the following invocation:
make -f Makefile.lite libFLAC libFLAC++ flac metaflac test_libs_common
test_libFLAC test_libFLAC++ test_grabbag test_seeking test_streams utils
examples
This patch addresses eight points:
1. `uname -p` in MSYS returns "unknown" so we must use `gcc
-dumpmachine` to gain information about the target, 32-bit or 64-bit.
2. MinGW-w64 does not ship with a working iconv.h, so we must disable it
under this specific compiler.
3....
2014 Nov 25
0
flac-1.3.1pre1
...in
156+1 records out
80000 bytes transferred in 0.194 secs (412063 bytes/sec)
-: Verify OK, wrote 9004 bytes, ratio=0.112
./test_replaygain.sh: line 85: mawk: command not found
Testing FLAC replaygain 8000 (8000 x 1) ... -: ERROR: got partial sample
The following tests pass fine:
test_seeking.sh
test_streams.sh
test_compression.sh
This is all on current OpenBSD/i386.
Jan
--- test_bins.sh Tue Nov 25 04:42:25 2014
+++ /home/hans/src/flac-1.3.1pre1/test/test_bins.sh Tue Nov 25 23:27:47 2014
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/sh -e
# FLAC - Free Lossless Audio Codec
# Copyright (C) 2001-20...
2004 Sep 10
1
[Flac-users] FLAC 1.0.4 build issue
...ting multiple input files from noise...
Testing multiple files without verify...
flac 1.0.4, Copyright (C) 2000,2001,2002 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for
details.
././test_streams.sh: line 16: 19845 Segmentation fault (core dumped)
flac $encode_options file0.wav file1.wav file2.wav
ERROR
FAIL: ./test_streams.sh
===================
4 of 4 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/opt/src/flac-1.0.4/test'
make[1]:...
2012 Dec 27
4
[PATCH] Makefile.lite: Fix building with MSYS and MinGW(-w64), Improvements
Hello,
This is a patch to allow building of the project using MSYS, MinGW, and
MinGW-w64 with the following invocation:
make -f Makefile.lite libFLAC libFLAC++ flac metaflac test_libs_common
test_libFLAC test_libFLAC++ test_grabbag test_seeking test_streams utils
examples
This patch addresses eight points:
1. `uname -p` in MSYS returns "unknown" so we must use `gcc
-dumpmachine` to gain information about the target, 32-bit or 64-bit.
2. MinGW-w64 does not ship with a working iconv.h, so we must disable it
under this specific compiler.
3....
2005 Jan 29
2
Patch : fix configure.in and Makefile.am problems.
...r1.3 Makefile.am
--- src/test_seeking/Makefile.am 25 Jan 2005 04:18:44 -0000 1.3
+++ src/test_seeking/Makefile.am 30 Jan 2005 05:23:56 -0000
@@ -19,7 +19,7 @@
Makefile.lite \
test_seeking.dsp
-CFLAGS = @CFLAGS@ @OGG_CFLAGS@
+AM_CFLAGS = @OGG_CFLAGS@
INCLUDES =
if FLaC__HAS_OGG
Index: src/test_streams/Makefile.am
===================================================================
RCS file: /cvsroot/flac/flac/src/test_streams/Makefile.am,v
retrieving revision 1.13
diff -u -r1.13 Makefile.am
--- src/test_streams/Makefile.am 25 Jan 2005 04:18:44 -0000 1.13
+++ src/test_streams/Makefile.am 30 Jan 20...
2004 Sep 10
0
1.0 source candidate
...==========================================
RCS file: /cvsroot/flac/flac/src/Makefile.am,v
retrieving revision 1.4
diff -u -r1.4 Makefile.am
--- src/Makefile.am 2001/06/08 00:13:21 1.4
+++ src/Makefile.am 2001/07/21 01:58:17
@@ -19,8 +19,4 @@
XMMS_DIRS = plugin_xmms
endif
-if DEBUG
-DEBUG_DIRS = test_streams test_unit
-endif
-
-SUBDIRS = libFLAC flac metaflac $(XMMS_DIRS) $(DEBUG_DIRS)
+SUBDIRS = libFLAC flac metaflac $(XMMS_DIRS) test_streams test_unit
Index: src/flac/Makefile.am
===================================================================
RCS file: /cvsroot/flac/flac/src/flac/Makefile.am,v
ret...