third_party_libsnd/tests
IOhannes m zmölnig cefd7b59df tests: Use fuzzy comparison in test-suite
Using exact comparison ("a == b") when comparing expected with computed
test data fails the test-suite on many architectures (including, but not
limited to armhf and arm64).

Instead, use epsilon(for now, FLT_EPSILON and DBL_EPSILON) to compare
floating point numbers for equality.


Closes: https://github.com/libsndfile/libsndfile/issues/866

Signed-off-by: IOhannes m zmölnig <zmoelnig@iem.at>
2022-09-09 13:04:00 +05:00
..
aiff_rw_test.c tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
alaw_test.c tests: Make temporary filenames unique per test (#704) 2021-02-21 11:11:34 +01:00
benchmark-0.0.28 First snapshot of the public project. 2007-05-14 19:55:24 +10:00
benchmark-1.0.0 First snapshot of the public project. 2007-05-14 19:55:24 +10:00
benchmark-1.0.0rc2 First snapshot of the public project. 2007-05-14 19:55:24 +10:00
benchmark-1.0.6pre10-coltrane First snapshot of the public project. 2007-05-14 19:55:24 +10:00
benchmark-1.0.6pre10-miles First snapshot of the public project. 2007-05-14 19:55:24 +10:00
benchmark-1.0.18pre16-hendrix Add two benchmark results for current version. 2007-09-12 21:51:44 +10:00
benchmark-1.0.18pre16-mingus Add two benchmark results for current version. 2007-09-12 21:51:44 +10:00
benchmark-latest-coltrane First snapshot of the public project. 2007-05-14 19:55:24 +10:00
benchmark.def More whitespace and cstyle fixes. 2012-01-21 14:24:38 +11:00
benchmark.tpl More whitespace and cstyle fixes. 2012-01-21 14:24:38 +11:00
channel_test.c tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
checksum_test.c Fix MSAN errors 2017-05-04 18:42:24 +10:00
chunk_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
command_test.c Fix command_test Subformat count 2021-03-25 10:26:15 -07:00
compression_size_test.c Rename SF_FORMAT_MP3 to SF_FORMAT_MPEG 2021-03-25 10:26:15 -07:00
cpp_test.cc tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
cue_test.c Add support for more than 1000 cue points in WAV and AIFF files (#434) 2018-12-23 20:32:56 +11:00
dft_cmp.c tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
dft_cmp.h tests: Improvements to floating point tests 2015-10-19 12:41:50 +11:00
dither_test.c tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
dwvw_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
error_test.c Fix deprecated function warning 2021-02-17 13:44:15 +05:00
external_libs_test.c Opus file support 2019-02-20 19:30:30 +11:00
fix_this.c tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
floating_point_test.def tests/(floating_point|scale_clip)_test.def : Quote hex literals. 2014-06-30 18:32:14 +10:00
floating_point_test.tpl Rename SF_FORMAT_MP3 to SF_FORMAT_MPEG 2021-03-25 10:26:15 -07:00
format_check_test.c mpeg: Disable experimental writing MPEG subformats in WAV 2021-10-22 23:57:30 -07:00
generate.c ci: Fix test failure 2021-03-14 22:08:01 +05:00
generate.h Update copyright dates. 2011-01-19 21:36:56 +11:00
header_test.def *.(def|tpl) : Remove arch-tag comments from end of files. 2007-06-09 21:40:30 +10:00
header_test.tpl tests: Make temporary filenames unique per test (#704) 2021-02-21 11:11:34 +01:00
headerless_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
largefile_test.c tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
locale_test.c Deprecate ENABLE_SNDFILE_WINDOWS_PROTOTYPES define 2021-02-18 16:56:34 +05:00
long_read_write_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
lossy_comp_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
misc_test.c Fix warnings reported by Clang 10 2020-08-31 16:59:01 +05:00
mpeg_test.c Rename mp3 -> mpeg (file sources and function names) 2021-03-25 10:26:15 -07:00
multi_file_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
ogg_opus_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
ogg_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
pcm_test.def tests/ : Fix undefined behaviour warnings. 2014-12-16 13:21:19 +11:00
pcm_test.tpl Fix Clang warnings 2020-09-04 10:03:09 +05:00
peak_chunk_test.c tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
pedantic-header-test.sh.in Move public headers to include directory 2020-08-26 11:59:26 +05:00
pipe_test.def *.(def|tpl) : Remove arch-tag comments from end of files. 2007-06-09 21:40:30 +10:00
pipe_test.tpl Make build system completely non-recursive 2017-09-26 19:35:56 +10:00
raw_test.c tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
rdwr_test.def tests/rdwr_test.(def|tpl) : Add new test program and hook into build. 2010-02-28 13:52:11 +11:00
rdwr_test.tpl Whitespace and cstyle fixes. 2012-01-20 22:46:13 +11:00
scale_clip_test.def tests/(floating_point|scale_clip)_test.def : Quote hex literals. 2014-06-30 18:32:14 +10:00
scale_clip_test.tpl tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
sftest.c tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
sfversion.c tests: Fixes for MSVC 2017-04-14 13:03:27 +10:00
stdin_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
stdio_test.c Make build system completely non-recursive 2017-09-26 19:35:56 +10:00
stdout_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
string_test.c Rename SF_FORMAT_MP3 to SF_FORMAT_MPEG 2021-03-25 10:26:15 -07:00
test_wrapper.sh.in Rename mp3 -> mpeg (file sources and function names) 2021-03-25 10:26:15 -07:00
ulaw_test.c tests: Make temporary filenames unique per test (#704) 2021-02-21 11:11:34 +01:00
utils.def tests/utils.(def|tpl) : Add compare_XXX_or_die functions. 2007-12-14 20:41:33 +11:00
utils.tpl tests: Use fuzzy comparison in test-suite 2022-09-09 13:04:00 +05:00
virtual_io_test.c msvc: Fix annoying conversion warnings #304 2021-03-06 11:41:47 +05:00
win32_ordinal_test.c Remove redundant libsndfile.def.in 2017-10-31 18:42:40 +11:00
win32_test.c Fix a bunch of compiler warnings with gcc-4.6. 2011-03-28 18:43:05 +11:00
write_read_test.def tests/ : Add tests for 20 and 24 bit ALAC/CAF files. 2012-03-10 10:59:15 +11:00
write_read_test.tpl tests: Make temporary filenames unique per test (#704) 2021-02-21 11:11:34 +01:00