Commit Graph

537 Commits

Author SHA1 Message Date
Erik de Castro Lopo
ea62c5083d Merge from -dev. 2009-12-11 05:48:36 +11:00
Erik de Castro Lopo
ea3e2a2bc9 tests/error_test.c : Don't terminate when sf_close() returns zero in error_close_test(). 2009-12-08 21:29:42 +11:00
Erik de Castro Lopo
3083d46d8b tests/win32_test.c : Add a new test. 2009-12-01 19:06:02 +11:00
Erik de Castro Lopo
a5438d79ac tests/multi_file_test.c : Fix file creation flags on windows. Thanks to Bruce Sharpe. 2009-12-01 18:08:29 +11:00
Erik de Castro Lopo
1a66b22ca0 Minor OS/2 tweaks as suggested by David Yeo. 2009-12-01 07:21:36 +11:00
Erik de Castro Lopo
29740441d1 tests/locale_test.c : Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES. 2009-11-22 07:10:35 +11:00
Erik de Castro Lopo
40d5267f43 tests/virtual_io_test.c : Add a PAF/PCM_24 test and verify the file length is not negative immediately after openning the file for write. 2009-11-16 20:04:26 +11:00
Erik de Castro Lopo
197273486c Merge from -dev branch. 2009-10-18 21:16:32 +11:00
Erik de Castro Lopo
cbe9da2c7b tests/test_wrapper.sh.in : Don't run cpp_test on x86_64-w64-mingw32. 2009-10-05 12:14:15 +11:00
Erik de Castro Lopo
997740916f tests/utils.tpl : On windows, make sure the open() function doesn't get called with a third parameter of 0 which fails for no good reason. 2009-09-28 18:46:34 +10:00
Erik de Castro Lopo
6a6d088305 Update to allow all tests to be gathered up into a testsuite tarball and then be run using this script. 2009-09-27 11:50:12 +10:00
Erik de Castro Lopo
b206605beb tests/locale_test.c : Add a wchar_test() to test sf_wchar_open(). 2009-09-26 22:24:01 +10:00
Erik de Castro Lopo
8d505f0d5b tests/locale_test.c : Unlink file before changing back to old locale. 2009-09-25 21:14:46 +10:00
Erik de Castro Lopo
43f72b12cc tests/locale_test.c : Update to work with xx_XX.UTF-8 style locales. Refactoring. 2009-09-23 20:02:35 +10:00
Erik de Castro Lopo
37a36e7746 Remove WIN32 snprintf #define. 2009-09-19 20:30:58 +10:00
Erik de Castro Lopo
97ca21cd46 Run peak_chunk_test on CAF files. 2009-09-16 20:14:54 +10:00
Erik de Castro Lopo
661fa46a30 tests/win32_ordinal_test.c : Look for stuff in current directory as well. 2009-09-16 18:30:24 +10:00
Erik de Castro Lopo
f07916361d tests/test_wrapper.sh.in : Simplify tests. 2009-09-15 21:37:14 +10:00
Erik de Castro Lopo
3fdcfaac9e tests/command_test.c : Add a test for BEXT in RF64. 2009-08-30 12:14:50 +10:00
Erik de Castro Lopo
e0607620f0 Update channel map tests. 2009-05-27 20:49:54 +10:00
Erik de Castro Lopo
9642444462 tests/command_test.c : Update channel_map_test() function so WAV test passes. 2009-05-24 08:33:20 +10:00
Erik de Castro Lopo
5b2779996c tests/utils.tpl : Add check of sf_error to test_open_file_or_die(). 2009-04-12 21:38:59 +10:00
Erik de Castro Lopo
9380ad3f9e tests/stdin_test.c : Check psf->error after opening file. 2009-04-12 15:28:39 +10:00
Erik de Castro Lopo
b99995bef5 tests/ : Cleanup output. 2009-04-11 11:30:42 +10:00
Erik de Castro Lopo
12a46a4785 Bunch of minor fixes. 2009-03-24 19:58:48 +11:00
Erik de Castro Lopo
cf4859c221 tests/sfversion.c : Test function sf_version_string. 2009-03-17 14:11:18 +11:00
Erik de Castro Lopo
f2e1e833de tests/pcm_test.tpl : Improve output. 2009-03-17 03:09:10 +11:00
Erik de Castro Lopo
85c6b26122 tests/vorbis_test.c : Relax test slighly to allow test to pass on more CPUs etc. 2009-03-04 11:44:42 +11:00
Erik de Castro Lopo
56eea7e1e4 tests/win32_test.c : Fix resource leak. 2009-03-01 20:47:32 +11:00
Erik de Castro Lopo
c86546efd9 tests/win32_test.c : Don't use sprintf, even on windows. 2009-02-24 11:04:46 +11:00
Erik de Castro Lopo
7af1f475ce tests/win32_test.c : Add missing close on file descriptor. 2009-02-22 16:53:48 +11:00
Erik de Castro Lopo
d3f52ad480 tests/test_wrapper.sh.in : Add 'set -e' so the script exits on error. 2009-02-22 13:08:37 +11:00
Erik de Castro Lopo
12180c5bb3 tests/*.c : Don't include un-needed headers. 2009-02-22 12:39:48 +11:00
Erik de Castro Lopo
23d8864739 tests/Makefile.am : Replace all tests with a single invocation of the test wrapper script. 2009-02-11 09:31:54 +11:00
Erik de Castro Lopo
925b00fac0 Add file tests/test_wrapper.sh.in. 2009-02-11 09:31:16 +11:00
Erik de Castro Lopo
a38e0b105e Update copyright notices. 2009-02-07 15:20:17 +11:00
Erik de Castro Lopo
e9a1817530 tests/string_test.c : Add test for RDWR mode where the file ends up shorter than when it was opened. 2008-12-14 20:19:44 +11:00
Erik de Castro Lopo
e12ea8acfd tests/win32_ordinal_test.c : Update tests symbol file changes. 2008-11-14 21:46:37 +11:00
Erik de Castro Lopo
0c1e963eda tests/command_test.c : Add test to detect if coding history is truncated. 2008-10-28 06:56:16 +11:00
Erik de Castro Lopo
90dce5560a tests/command_test.c : Add broadcast_coding_history_size test. 2008-10-27 06:16:32 +11:00
Erik de Castro Lopo
5992144307 tests/error_test.c : Fix failure behaviour in error_number_test. 2008-10-26 20:19:25 +11:00
Erik de Castro Lopo
8b4361bb6b tests/command_test.c : Rearrange prototypes. 2008-10-26 17:04:21 +11:00
Erik de Castro Lopo
1bb50bd170 tests/Makefile.am : Automake 1.10 MinGW cross compiling fixes. 2008-10-20 23:05:09 +11:00
Erik de Castro Lopo
10ca1fd3d1 tests : Fix gcc-4.3 compiler warnings. 2008-10-19 16:06:42 +11:00
Erik de Castro Lopo
797f33196c tests/command_test.c : Fix valgrind test. 2008-10-19 16:01:10 +11:00
Erik de Castro Lopo
703b9bcc32 tests/Makefile.am : Disable string tests for RF64. 2008-10-14 10:06:10 +11:00
Erik de Castro Lopo
019dbf5056 Merge from -mdev branch. 2008-10-14 09:24:33 +11:00
Erik de Castro Lopo
2b01bc02f1 tests/command_test.c : Add test function instrument_rw_test, but don't hook it into the testing yet. 2008-10-13 20:07:19 +11:00
Erik de Castro Lopo
5b754eba25 tests/command_test.c : Fix false failure. 2008-10-10 06:50:10 +11:00
Erik de Castro Lopo
ca75132a34 tests/command_test.c : Improve error reporting when '\0' is found in coding history. 2008-10-10 06:05:28 +11:00
Erik de Castro Lopo
dcfdd7cbb4 Whitespace fixes. 2008-10-09 19:51:09 +11:00
Erik de Castro Lopo
8af5d534d6 tests/command_test.c : Add test to make sure all line endings are converted to \r\n. 2008-10-09 19:22:53 +11:00
Erik de Castro Lopo
1dcb1cac19 tests/command_test.c : Update bextch test to cope with previous change. 2008-10-08 21:18:59 +11:00
Erik de Castro Lopo
cc0c221e1d Add new checksum_test specifically for lossy compression of headerless files. 2008-10-05 15:05:26 +11:00
Erik de Castro Lopo
5f99d78bdb tests/utils.tpl tests/pcm_test.tpl : Update check_file_hash_or_die to use 64 bit hash. 2008-10-05 15:02:07 +11:00
Erik de Castro Lopo
abaa197683 Remove tests/cpp_crack_test.cc. 2008-10-04 13:07:27 +10:00
Erik de Castro Lopo
4a5db55371 tests/utils.tpl : Fix win64 issues. 2008-09-29 18:32:55 +10:00
Erik de Castro Lopo
7c08018650 tests/win32_ordinal_test.c : Fix calling of GetProcAddress with ordinal under win64. 2008-09-29 18:32:12 +10:00
Erik de Castro Lopo
8ed24c2c70 */Makefile.am : Clean paths. 2008-09-25 21:46:49 +10:00
Erik de Castro Lopo
188b96c9c3 Add string tests (not yet working). 2008-08-23 14:02:29 +10:00
Erik de Castro Lopo
7f51dea38e Add more RF64 tests. 2008-08-23 10:03:23 +10:00
Erik de Castro Lopo
57525e4ef5 tests/write_read_test.tpl : Add tests for RF64. 2008-08-23 09:53:52 +10:00
Erik de Castro Lopo
ca41f2649b tests/command_test.c : Add broadcast info test for WAVEX files. 2008-08-18 22:14:27 +10:00
Erik de Castro Lopo
f081b9539d tests/string_test.c : Add string tests for WAVEX and RIFX files. 2008-08-18 22:13:53 +10:00
Erik de Castro Lopo
3596e4f77c tests/utils.tpl : Make sure buffer is intialialized. 2008-08-18 21:53:16 +10:00
Erik de Castro Lopo
e78ae0b77b tests/string_test.c : Remove definition of static function libsndfile_str_count, which is no longer used. 2008-08-18 09:17:02 +10:00
Erik de Castro Lopo
ee05bdf1b5 tests/string_test.c : Polish string_multi_set_test. 2008-08-18 08:45:43 +10:00
Erik de Castro Lopo
278b206a88 tests/string_test.c : Add a new string_multi_set_test (currently failing). 2008-08-17 18:15:31 +10:00
Erik de Castro Lopo
904ccc26b5 tests/command_test.c : Add a new broadcast_rdwr_test (currently failing). 2008-08-17 12:27:54 +10:00
Erik de Castro Lopo
82f6b2db86 tests/string_test.c : Add a new string_rdwr_test (currently failing for WAV). 2008-08-17 12:06:35 +10:00
Erik de Castro Lopo
9189b62ec2 tests/utils.tpl : Add new function create_short_sndfile(). 2008-08-16 16:28:59 +10:00
Erik de Castro Lopo
1476a4bc5a tests/misc_test.c : Only run Ogg test if HAVE_EXTERNAL_LIBS is true. 2008-07-31 08:40:49 +10:00
Erik de Castro Lopo
65689d4169 tests/Makefile.am : Make sure to run mist_test on Ogg/Vorbis files. 2008-07-30 12:12:59 +10:00
Erik de Castro Lopo
6dff79f3b2 Fix segfault when closing an Ogg/Vorbis file that has been opened for write but had no actual data written to it. Add test. 2008-07-30 09:32:26 +10:00
Erik de Castro Lopo
2b7f4a1ecf tests/misc_test.c : Add a test for correct handling of Ambisonic files. 2008-07-03 20:29:42 +10:00
Erik de Castro Lopo
1b01b8f609 tests/floating_point_test.tpl : Fix for missing external libs. 2008-06-03 09:23:18 +10:00
Erik de Castro Lopo
7c39404d87 tests/external_libs_test.c : Add new test and hook into build and test suite. 2008-05-21 20:55:53 +10:00
Erik de Castro Lopo
a2ce5feb79 Fix tests when configured with --disable-external-libs. 2008-05-21 19:20:24 +10:00
Erik de Castro Lopo
f12da21e24 tests/command_test.c : Fix valgrind warning. 2008-05-21 15:58:51 +10:00
Erik de Castro Lopo
a0805fd3af tests/utils.tpl : Constify function dump_data_to_file. 2008-05-19 11:45:44 +10:00
Erik de Castro Lopo
7868688923 tests/utils.tpl : Improve output of print_test_name when filename is NULL or zero length. 2008-05-19 11:38:23 +10:00
Erik de Castro Lopo
fb20a83c26 tests/write_read_test.tpl : Fix signed/unsigned comparison warning. 2008-05-11 14:45:25 +10:00
Erik de Castro Lopo
d2045d958a tests/write_read_test.tpl : Add a test for extending a file during write by seeking past the current end of file. 2008-05-11 09:07:54 +10:00
Erik de Castro Lopo
3b05211ace Make sf_close return an error is the file descriptor is already closed. Add a test. Thanks to Dave Flogeras for the but report. 2008-04-27 18:33:46 +10:00
Erik de Castro Lopo
45cebc0170 tests/vorbis_test.c : Fix error message. 2008-04-27 18:29:31 +10:00
Erik de Castro Lopo
d3321b7fc0 Whitespace and C style cleanups. 2008-04-19 19:19:24 +10:00
Erik de Castro Lopo
4ee9007ff8 Merge in support for MPC 2000 files. 2008-04-19 19:14:05 +10:00
Erik de Castro Lopo
e48f1c7f4d Add tests for MPC 2000 file format. 2008-04-19 13:02:35 +10:00
Erik de Castro Lopo
ef033ccb8c tests : Always pass 0 as the third argument to open when OS_IS_WIN32. 2008-04-06 20:26:16 +10:00
Erik de Castro Lopo
6e98e65ca3 Merge from -mingw branch. 2008-04-06 17:22:20 +10:00
Erik de Castro Lopo
f18a084e2c tests/Makefile.am : When cross compiling from Linux to windows and running the test suite under Wine, create a symbolic link to the libsndfile DLL. 2008-04-06 16:26:46 +10:00
Erik de Castro Lopo
a5f5a3abee tests/*.c : Add calls to sf_close() where needed. 2008-04-06 16:24:39 +10:00
Erik de Castro Lopo
091d6ac84e Sync to mdev branch. 2008-04-06 08:41:08 +10:00
Erik de Castro Lopo
1741c196c2 More cleanup. 2008-04-05 21:23:03 +11:00
Erik de Castro Lopo
2e97a51cdd Clean out cruft. 2008-04-05 20:13:47 +11:00
Erik de Castro Lopo
9e94d2443c tests/locale_test.c : Disable some tests when OS_IS_WIN32. 2008-03-25 22:21:13 +11:00
Erik de Castro Lopo
900ff60b44 tests/peak_chunk_test.c : Improve read_write_peak_test to find more errors. 2008-01-27 13:45:21 +11:00
Erik de Castro Lopo
ac6d98ab26 tests/write_read_test.tpl : Minor tweaks. 2008-01-24 16:07:50 +11:00
Erik de Castro Lopo
12af3da5ca tests/aiff_rw_test.c : Fix error reporting. 2008-01-22 14:11:45 +11:00
Erik de Castro Lopo
36f9dbf765 tests/peak_chunk_test.c : Minor tweaks. 2008-01-21 09:20:58 +11:00
Erik de Castro Lopo
a7d411f19b tests/write_read_test.tpl : Fix reporting of errors in new_rdwr_XXXX_test. 2008-01-21 09:02:11 +11:00
Erik de Castro Lopo
17b3728602 tests/peak_chunk_test.c : Add Add test function read_write_peak_test which currently fails for both WAV and AIFF. 2008-01-20 21:03:22 +11:00
Erik de Castro Lopo
6e79c6c588 tests/command_test.c : More SFC_RAW_DATA_NEEDS_ENDSWAP tests. 2008-01-20 20:10:44 +11:00
Erik de Castro Lopo
b72f03928a Add command SFC_RAW_NEEDS_ENDSWAP with tests. 2008-01-20 19:19:12 +11:00
Erik de Castro Lopo
4226528123 tests/multi_file_test.c : Use function file_length_fd() instead of file_length() to overcome stupid win32 bug. Fscking hell Microsoft sucks so much. 2008-01-08 18:20:09 +11:00
Erik de Castro Lopo
ebf5effadd tests/Makefile.am : Run the multi_file_test on AU files. 2008-01-08 18:12:55 +11:00
Erik de Castro Lopo
9b2c327b1f tests/utils.tpl : Add function file_length_fd which wraps fstat. 2008-01-08 18:11:02 +11:00
Erik de Castro Lopo
28da8af2b1 tests/win32_test.c : Add another test. 2008-01-08 18:03:15 +11:00
Erik de Castro Lopo
c215c0fc85 Apply similar fix from writing float data to WAVEX files without a peak chunk. 2007-12-28 01:38:33 +11:00
Erik de Castro Lopo
a6f3f957c4 Apply similar fix from writing float data to AIFF files without a peak chunk. 2007-12-28 01:33:04 +11:00
Erik de Castro Lopo
33c4abb8d5 tests/header_test.tpl : Add header_shrink_test from Axel Roebel. 2007-12-28 01:25:13 +11:00
Erik de Castro Lopo
0585d347fe tests/ogg_test.c : Add stereo seek tests. 2007-12-16 19:12:42 +11:00
Erik de Castro Lopo
19f5d65794 tests/utils.(def|tpl) : Add compare_XXX_or_die functions. 2007-12-14 20:41:33 +11:00
Erik de Castro Lopo
93878894aa tests/Makefile.am : Fix dependancies. 2007-12-14 05:01:39 +11:00
Erik de Castro Lopo
c577c45baf tests/ogg_test.c : Small mods to ogg_seek_test. 2007-12-14 04:40:16 +11:00
Erik de Castro Lopo
7642800420 Add a test (currently failing) for stereo seeking on Ogg Vorbis files. 2007-12-14 04:37:27 +11:00
Erik de Castro Lopo
7dd52c0db8 tests/utils.tpl : Include <stdint.h>. 2007-12-08 09:28:59 +11:00
Erik de Castro Lopo
f1b4ef2174 Merge from -mdev. 2007-11-17 21:09:28 +11:00
Erik de Castro Lopo
ba0008bf9e Fix wav_pcm lossy_comp_test and run it by default in the test suite. 2007-11-17 18:57:22 +11:00
Erik de Castro Lopo
0e12f629df tests/lossy_comp_test.c : Remove more stupid casts. 2007-11-17 16:37:55 +11:00
Erik de Castro Lopo
4a59f446bb tests/lossy_comp_test.c : Fix test which did seek from end to 5 samples from start and then compared results. Problem was that test didn't use channel count. 2007-11-17 16:36:53 +11:00
Erik de Castro Lopo
a3ac5a2f87 tests/lossy_comp_test.c : More debug output improvements. 2007-11-17 16:08:39 +11:00
Erik de Castro Lopo
397c4513e0 tests/lossy_comp_test.c : Remove stupid and blatantly wrong casts. 2007-11-17 15:54:51 +11:00
Erik de Castro Lopo
3ae0a715f3 tests/lossy_comp_test.c : Rename raw_read_test() to read_raw_test(). 2007-11-17 15:42:17 +11:00
Erik de Castro Lopo
e81a508411 tests/lossy_comp_test.c : Add raw_read_test to check that raw reads do not go past the end of the audio data section. 2007-11-17 14:25:39 +11:00
Erik de Castro Lopo
e70aaed8f5 tests/lossy_comp_test.c : Clean up error output messages. 2007-11-17 14:22:12 +11:00
Erik de Castro Lopo
bef4583376 tests/command_test.c : Tweaks to version test. 2007-11-17 09:51:15 +11:00
Erik de Castro Lopo
a97e89d115 Improve handling of requirements for O_BINARY as suggested by Ed Schouten. 2007-11-12 19:55:30 +11:00
Erik de Castro Lopo
7fa264bbeb tests/floating_point_test.tpl : Fix signed/unsigned comparison warning. 2007-11-04 23:27:38 +11:00
Erik de Castro Lopo
a68879b66f Change SFC_SET_ENCODING_QUALITY to SFC_SET_VBR_ENCODING_QUALITY. 2007-11-04 15:39:12 +11:00
Erik de Castro Lopo
d813b2e344 tests/vorbis_test.c : Add trivial test of SFC_SET_ENCODING_QUALITY functionality. 2007-11-03 21:48:56 +11:00
Erik de Castro Lopo
e971368bd7 Add function file_length to utils.tpl and use it in multi_file_test.c. 2007-11-03 21:46:57 +11:00
Erik de Castro Lopo
473d8078d2 Merge from -mdev branch. 2007-11-03 17:49:53 +11:00
Erik de Castro Lopo
43a69d5143 tests/floating_point_test.tpl : Fix signed/unsigned comparison warning. 2007-11-03 16:07:17 +11:00
Erik de Castro Lopo
98f04e3ef3 Add tests for correct updating of broadcast WAV coding history. 2007-11-03 11:58:33 +11:00
Erik de Castro Lopo
f3249016df tests/utils.tpl : Increase the printing width for print_test_name(). 2007-11-03 11:57:42 +11:00
Erik de Castro Lopo
966c9cfbcb Merge from -mdev branch. 2007-10-28 22:10:39 +11:00
Erik de Castro Lopo
82ee6c7901 Move tests from open_fail_test.c to error_test.c and remove the former. 2007-10-23 06:33:35 +10:00
Erik de Castro Lopo
d7c919f121 Fix gcc-4.2 warning messages. 2007-10-22 23:02:11 +10:00
Erik de Castro Lopo
8c9d0101f1 tests/scale_clip_test.(def|tpl) : Add tests for SFC_SET_INT_FLOAT_WRITE command. 2007-10-22 19:48:17 +10:00
Erik de Castro Lopo
7c28ca3b10 tests/scale_clip_test.tpl : Start work on SFC_SET_SCALE_INT_FLOAT_WRITE tests. 2007-10-22 19:07:51 +10:00
Erik de Castro Lopo
d1a2a5bf83 tests/scale_clip_test.tpl : Rename some test functions. 2007-10-22 18:47:05 +10:00
Erik de Castro Lopo
eda374c4c0 Merge from -mdev branch. 2007-10-21 20:28:27 +10:00
Erik de Castro Lopo
fc54aad003 Add test for SFC_GET_CURRENT_SF_INFO. 2007-10-21 17:29:04 +10:00
Erik de Castro Lopo
0a2a698771 Merge from -mdev branch. 2007-10-16 21:54:39 +10:00
Erik de Castro Lopo
0131ec9394 Add two benchmark results for current version. 2007-09-12 21:51:44 +10:00
Erik de Castro Lopo
3f792033d5 Remove workarounds for vorbis x86-64 bug. 2007-09-01 18:21:44 +10:00
Erik de Castro Lopo
fac1cb5e08 tests/dft_cmp.c : Fix signed/unsigned compare warning. 2007-08-23 21:14:09 +10:00
Erik de Castro Lopo
dbf67a9d9c More vorbis bug workarounds in the test suite. 2007-08-22 21:30:58 +10:00
Erik de Castro Lopo
add9190907 tests/floating_point_test.tpl : Add workaround to make vorbis test work. 2007-08-22 21:21:38 +10:00
Erik de Castro Lopo
be7b5ce41e tests/vorbis_test.c : Change name of test generated file. 2007-08-21 20:24:14 +10:00
Erik de Castro Lopo
7a2f9d2785 tests/vorbis_test.c : More parameter tweaks. 2007-08-21 19:52:05 +10:00
Erik de Castro Lopo
6e4137e939 tests/vorbis_test.c : Tweak params to trigger vorbis bug. 2007-08-21 19:50:43 +10:00
Erik de Castro Lopo
f698775a7f Add file, tests/vorbis_test.c and hook into build. 2007-08-21 14:18:52 +10:00
Erik de Castro Lopo
9deba181c1 tests/dft_cmp.c : Fix signed/unsigned comparison warning. 2007-08-20 11:09:39 +10:00
Erik de Castro Lopo
543298e443 tests/ogg_test.c : Include unistd.h for unlink. 2007-08-20 11:01:07 +10:00
Erik de Castro Lopo
15a3da6189 tests/ogg_test.c : Remove test generatred files so 'make distcheck' passes. 2007-08-20 08:51:21 +10:00
Erik de Castro Lopo
b28d41b583 Merge from -dft-cmp branch. 2007-08-19 17:08:43 +10:00
Erik de Castro Lopo
ddacc2c36c Whitespace cleanup. 2007-08-19 16:47:18 +10:00
Erik de Castro Lopo
2db06064a6 Clean up floating point tests. 2007-08-19 16:46:15 +10:00
Erik de Castro Lopo
185fb36c1e tests/utils.tpl : Make oct_save_* functions const correct. 2007-08-19 00:50:46 +10:00
Erik de Castro Lopo
1f3e60bed1 tests/dft_cmp.[ch] : Rename dft_cmp to dft_cmp_double. 2007-08-18 22:41:21 +10:00
Erik de Castro Lopo
8e468eb41e tests/lossy_comp_test.c : Disable tests for float/double. 2007-08-13 21:57:23 +10:00
Erik de Castro Lopo
141bfdf6c3 tests/lossy_comp_test.c : Use sdlossy_comp_test for vorbis. 2007-08-13 21:42:37 +10:00
Erik de Castro Lopo
c407bb63af Add string tests for ogg/vorbis. 2007-08-12 09:07:34 +10:00
Erik de Castro Lopo
acf57411ad tests/Makefile.am : Add ogg/vorbis testing. 2007-08-12 08:59:22 +10:00
Erik de Castro Lopo
eb83c87fcd tests/lossy_comp_test.c : Add option to test ogg/vorbis. 2007-08-12 08:58:54 +10:00
Erik de Castro Lopo
e7a94fa06b tests/floating_point_test.tpl : Reduce target SNR for vorbis. 2007-08-12 08:45:23 +10:00
Erik de Castro Lopo
cdc216c7b9 tests/ogg_test.c : Add a bunch test code. 2007-08-10 22:22:33 +10:00
Erik de Castro Lopo
6447d603db tests/ogg_test.c : Update test. Seek currently failing. 2007-08-10 22:06:45 +10:00
Erik de Castro Lopo
6e46221b5f Add file tests/ogg_test.c, hook into build. 2007-08-10 21:37:39 +10:00
Erik de Castro Lopo
78975c0f9d tests/floating_point_test.tpl : Add first test for ogg vorbis. 2007-08-09 21:54:38 +10:00
Erik de Castro Lopo
a66937e87f Merge from -mdev. 2007-07-14 14:17:21 +10:00
Erik de Castro Lopo
1d25580d94 Minor tweaks. 2007-07-14 14:15:44 +10:00
Erik de Castro Lopo
274bb817e5 Make sure string tests for SF_STR_LICENSE actually works. 2007-07-14 12:38:17 +10:00
Erik de Castro Lopo
3680fe7971 Add string type SF_STR_LICENSE, update test and use for FLAC files. 2007-07-13 22:14:49 +10:00
Erik de Castro Lopo
01527eace7 tests/string_test.c : Add ability to test strings stored in metadata secion of FLAC files. 2007-07-13 20:14:26 +10:00
Erik de Castro Lopo
06ddb6f163 Add string type SF_STR_ALBUM, update test and use for FLAC files. 2007-07-12 19:21:24 +10:00
Erik de Castro Lopo
a7749dc5d4 tests/cpp_test.cc : Add extra tests for when the SndfileHandle constructor fails. 2007-06-14 19:06:58 +10:00
Erik de Castro Lopo
259a3fbc60 tests/Makefile.am : Fix 'make distcheck' target. 2007-06-11 07:50:24 +10:00
Erik de Castro Lopo
7a70d8e4c8 tests/write_read_test.tpl : Don't do multi_seek_test on SF_FORMAT_RAW. 2007-06-10 13:47:46 +10:00
Erik de Castro Lopo
9eb5e33974 tests/write_read_test.tpl : Add multi_seek_test. 2007-06-10 12:19:33 +10:00
Erik de Castro Lopo
e4b3b5cc32 Add files generate.[ch], hook into build. 2007-06-10 12:17:28 +10:00
Erik de Castro Lopo
180abbc54b tests/utils.tpl : Add format parameter to write_mono_file. 2007-06-10 12:16:42 +10:00
Erik de Castro Lopo
3eb08a6b70 tests/utils.tpl : Add function write_mono_file. 2007-06-10 11:34:11 +10:00
Erik de Castro Lopo
2883d6b4cc *.(def|tpl) : Remove arch-tag comments from end of files. 2007-06-09 21:40:30 +10:00
Erik de Castro Lopo
b8fede2089 Detect if win32 DLL is beging generated and only run win32_ordinal_test if true. 2007-04-23 18:23:05 +10:00
Erik de Castro Lopo
bb59db8135 Merge. 2007-04-16 23:47:37 +10:00
Erik de Castro Lopo
28714c9ee0 Fix compile warnings for 64 bit systems. 2007-04-16 23:54:51 +10:00
Erik de Castro Lopo
abee60d5e1 tests/cpp_test.cc : Fix printf format flag. 2007-04-15 20:15:32 +10:00
Erik de Castro Lopo
69ded76e69 Add tests for WVE files. 2007-04-14 22:05:03 +10:00
Erik de Castro Lopo
9c70f5bb80 Apply patch from Andre Pang. 2007-04-14 17:16:04 +10:00
Erik de Castro Lopo
6ca8632158 misc_test.c : Force errno to zero at start of some tests. 2006-11-19 12:22:45 +11:00
Erik de Castro Lopo
155909bedf tests/misc_test.c : Fix permission_test to ensure that read only file can be created. 2006-11-05 19:38:29 +11:00
Erik de Castro Lopo
320836e40b Make new FLAC stuff build and run correctly. 2006-10-31 08:38:04 +11:00
Erik de Castro Lopo
dfd94de25c Fix problem related to recent test coverage changes. 2006-10-17 11:28:32 +00:00
Erik de Castro Lopo
2593c24c12 Add --enable-test-coverage configure option. 2006-10-15 11:05:45 +00:00
Erik de Castro Lopo
af69c0c798 Fix?? for src/G72x/g72x.c and tests/lossy_comp_test.c. 2006-10-15 08:21:42 +00:00
Erik de Castro Lopo
4973a9537a Fix the 'make distcheck' target. 2006-10-04 14:07:57 +00:00
Erik de Castro Lopo
843056fc3f Update scale_clip_test.(def|tpl) to test for new code. 2006-10-03 11:48:10 +00:00
Erik de Castro Lopo
3d8a64af63 aiff_rw_test.c : Add 'MARK' chunks to make sure they are parsed correctly. 2006-09-06 03:43:57 +00:00
Erik de Castro Lopo
ca89db0275 Fix overflow problems when ensuring that signalis not zero. 2006-09-02 08:51:16 +00:00
Erik de Castro Lopo
cb54001ed9 More sndfile.hh updates. 2006-08-08 08:13:40 +00:00
Erik de Castro Lopo
caf5b66170 Bunch of changes to sndfile.hh and test program. 2006-08-01 05:20:19 +00:00
Erik de Castro Lopo
e99159ef56 More sndfile.hh updates, and tests. 2006-07-30 08:24:34 +00:00
Erik de Castro Lopo
32861925fd Remove the generated file so "make distcheck" passes. 2006-07-29 10:41:06 +00:00
Erik de Castro Lopo
062e09c7c9 Complete sndfile.hh and add more tests. 2006-07-28 09:28:09 +00:00
Erik de Castro Lopo
576e6f6f68 Add a C++ test and hook into build. 2006-07-27 10:39:08 +00:00
Erik de Castro Lopo
60ccaf7c40 utils.tpl : Add extern C to generated header file. 2006-07-27 10:33:36 +00:00
Erik de Castro Lopo
0662d8a7c6 Fix gcc-4.1 type punned pointer warnings. 2006-06-21 13:15:05 +00:00
Erik de Castro Lopo
4d16583112 write_read_test.tpl : Change the order of some tests. 2006-05-22 01:35:15 +00:00
Erik de Castro Lopo
5c9136b5b9 Fix more signed/unsigned issues. 2006-05-02 13:30:11 +00:00
Erik de Castro Lopo
51cd92cd23 command_tests.c : Add channel map test. 2006-05-01 02:59:56 +00:00
Erik de Castro Lopo
863b324211 tests/util.tpl : Add function exit_if_true(). 2006-04-29 00:01:28 +00:00
Erik de Castro Lopo
d6ff32fd4f Update tests for new commands. 2006-04-15 01:03:43 +00:00
Erik de Castro Lopo
9163c74a1b Fix a bug which when PEAK chunk was enabled/disabled a couple of times and update peak_chunk_test. 2006-04-01 23:47:34 +00:00
Erik de Castro Lopo
92bdfe525c tests/utils.tpl : Whitespace cleanup. 2006-04-01 23:40:07 +00:00
Erik de Castro Lopo
d1b9e31444 Merge in changes from broadcast WAV branch.
Patches applied:

 * erikd@miles--2004/libsndfile--bext--0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-625

 * erikd@miles--2004/libsndfile--bext--0--patch-1
   Add BEXT patch from Paul Davis.

 * erikd@miles--2004/libsndfile--bext--0--patch-2
   Make it actually compile.

 * erikd@miles--2004/libsndfile--bext--0--patch-3
   Fix formatting of new code.

 * erikd@miles--2004/libsndfile--bext--0--patch-4
   Fix minor bugs after cleanup.

 * erikd@miles--2004/libsndfile--bext--0--patch-5
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--bext--0--patch-6
   sndfile.h.in : Clean up formatting of SF_BROADCAST_INFO struct.

 * erikd@miles--2004/libsndfile--bext--0--patch-7
   wav.c : Cleanup of broadcast WAV stuff.

 * erikd@miles--2004/libsndfile--bext--0--patch-8
   wav.c : Fix minor bug in broadcast WAV stuff.

 * erikd@miles--2004/libsndfile--bext--0--patch-9
   sndfile-info.c : Minor cleanup.

 * erikd@miles--2004/libsndfile--bext--0--patch-10
   sndfile.c : More cleanups.

 * erikd@miles--2004/libsndfile--bext--0--patch-11
   sndfile.h.in : Fix whitespace.

 * erikd@miles--2004/libsndfile--bext--0--patch-12
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--bext--0--patch-13
   Change coding_history field from char pointer to char array.

 * erikd@miles--2004/libsndfile--bext--0--patch-14
   Remove function broadcast_info_free.

 * erikd@miles--2004/libsndfile--bext--0--patch-15
   sndfile-info.c : Clean up output of broadcast_dump function.

 * erikd@miles--2004/libsndfile--bext--0--patch-16
   command_test.c : Start work on broadcast chunk tests.

 * erikd@miles--2004/libsndfile--bext--0--patch-17
   wav.c : Jump and ignore the 'levl' chunk.

 * erikd@miles--2004/libsndfile--bext--0--patch-18
   sndfile.h.in : Add block of reserved characters to SF_BROADCAST_INFO.

 * erikd@miles--2004/libsndfile--bext--0--patch-19
   Cleanup of broadcast WAV stuff.

 * erikd@miles--2004/libsndfile--bext--0--patch-20
   sndfile-info.c : Fix print message.

 * erikd@miles--2004/libsndfile--bext--0--patch-21
   Complete bext tests, hook test in test suite.
2006-03-30 22:43:51 +00:00
Erik de Castro Lopo
e974d7c200 tests/utils.tpl : Add usage of space character to psf_binheader_writef. 2006-03-18 11:13:47 +00:00
Erik de Castro Lopo
f4ee595dea Fix two INST related AIFF bugs. 2006-03-18 10:20:48 +00:00
Erik de Castro Lopo
55b4a702f0 src/Makefile.am : Remove --source-time argument from autogen command lines. 2006-03-17 07:56:00 +00:00
Erik de Castro Lopo
6fb384c705 Merge RIFX stuff from --rifx branch.
Patches applied:

 * erikd@miles--2004/libsndfile--rifx--0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-613

 * erikd@miles--2004/libsndfile--rifx--0--patch-1
   Add patch from Jesse Chappell for RIFX file support (needs work).

 * erikd@miles--2004/libsndfile--rifx--0--patch-2
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--rifx--0--patch-3
   write_read_test.tpl : Add RIFX tests.

 * erikd@miles--2004/libsndfile--rifx--0--patch-4
   More minor RIFX fixes.

 * erikd@miles--2004/libsndfile--rifx--0--patch-5
   Add RIFX tests.
2006-03-11 10:51:45 +00:00
Erik de Castro Lopo
c5de66c3d9 win32_ordinal_test : Exit on error. 2006-03-09 12:16:00 +00:00
Erik de Castro Lopo
3139c27ff6 Make sure Cygwin DLL ordinal numbers are also correct. 2006-03-08 22:49:20 +00:00
Erik de Castro Lopo
b7948fa64e Bunch of changes to fix MinGW DLL ordinal numbers. 2006-03-08 21:57:18 +00:00
Erik de Castro Lopo
76e004258d command_test.c : Remove XI from instrument test. 2006-02-19 08:58:30 +00:00
Erik de Castro Lopo
1c587d4d69 Don't exit on error in instrument test for XI files. 2006-01-21 01:10:10 +00:00
Erik de Castro Lopo
9ce84c0ae5 Add largefile_test.c and hook into build. 2006-01-19 09:05:37 +00:00
Erik de Castro Lopo
08c8886581 command_test.c : Update instrument tests for XI file.. 2006-01-19 09:05:23 +00:00
Erik de Castro Lopo
d566cbbdcd Add/update reading/writing instrument chunks. 2006-01-09 09:48:38 +00:00
Erik de Castro Lopo
ba42ebbeb0 Fix a bug that prevented the turning off of PEAK chunks. 2005-12-30 03:20:23 +00:00
Erik de Castro Lopo
8479935b4a error_test.c : Make the test distclean correct. 2005-12-29 03:34:20 +00:00
Erik de Castro Lopo
cbb7987a00 Apply patch from John ffitch to add read/write of instrument chunks. 2005-12-28 02:20:08 +00:00
Erik de Castro Lopo
e582a8c893 A test to make sure sf_error() returns a valid error number. 2005-12-10 02:43:03 +00:00
Erik de Castro Lopo
74c70660e7 Move dump_data_to_file() to utils.(c|h). 2005-12-10 02:27:32 +00:00
Erik de Castro Lopo
46616084ec write_read_test.tpl : Fix issue with AU files. 2005-11-19 02:10:13 +00:00
Erik de Castro Lopo
4c93e0bad9 headerless_test : Minor cleanup. 2005-11-19 01:35:35 +00:00
Erik de Castro Lopo
ea83fa2059 headerless_test.c : Add new test. 2005-11-19 01:23:44 +00:00
Erik de Castro Lopo
8712204014 Add "gsm" as a recognised file extension. Add tests. 2005-11-16 11:42:10 +00:00
Erik de Castro Lopo
7b12c9d636 Merge codec_close/container_close mods from --codec-close branch.
Patches applied:

 * erikd@miles--2004/libsndfile--codec-close--0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-545

 * erikd@miles--2004/libsndfile--codec-close--0--patch-1
   Start work on separate codec and container close functions.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-2
   Start using codec_close function pointer.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-3
   Start using container_close function pointer.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-4
   dwvw.c : Missed this in previous changes.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-5
   ima_adpcm.c : Modify existing *_close to be a codec_close function.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-6
   ms_adpcm.c : Modify existing *_close to be a codec_close function.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-7
   Remove the old close function pointer from the SF_PRIVATE struct.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-8
   lossy_comp_test.c : Reinstate check_comment() code form SF_FORMAT_(IMA|MS)_ADPCM.
2005-10-26 21:26:13 +00:00
Erik de Castro Lopo
8232502115 lossy_comp_test.c : More fixes. 2005-10-26 19:50:16 +00:00
Erik de Castro Lopo
b942c1fafb Merge from --wav-g721 branch.
Patches applied:

 * erikd@miles--2004/libsndfile--wav-g721--0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-517

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-1
   Start work on adding wav g721 support.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-2
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-3
   Add writing of g721 wav files, plus tests.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-4
   Clean up handling of g721.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-5
   Merge from --mdev.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-6
   Merge from --mdev.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-7
   More cleanup of G72x handling.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-8
   Whitespace cleanup.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-9
   More g72x cleanups.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-10
   More g72x refactoring.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-11
   More refactoring.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-12
   More refactoring II.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-13
   More refactoring III.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-14
   More refactoring IV.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-15
   More refactoring V.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-16
   More refactoring VI.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-17
   wav.c : Remove extraneous call to g72x_init().

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-18
   src/g72x.c : fix handling of block count and psf->datalength.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-19
   lossy_comp_test.c : Add tests for G721 encoded WAV files.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-20
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-21
   Merge from --mdev branch.
2005-10-26 14:52:52 +00:00
Erik de Castro Lopo
fa09971be2 lossy_comp_test.c : Minor fixups. 2005-10-26 14:31:59 +00:00
Erik de Castro Lopo
95993a0fb3 lossy_comp_test.c : Add string data to end of files (missed something). 2005-10-26 14:04:34 +00:00
Erik de Castro Lopo
2104ae2b68 lossy_comp_test.c : Add string data to end of files. 2005-10-26 13:59:50 +00:00
Erik de Castro Lopo
8952450542 command_test.c : Add test for setting/getting SF_INSTRUMENT data. 2005-10-23 18:25:40 +00:00
Erik de Castro Lopo
705032cf79 Start tests for SF_INSTRUMENT, command_test.c is no longer autogen-ed. 2005-10-23 07:32:04 +00:00
Erik de Castro Lopo
0730f47e6e lossy_comp_test.c : Minor cleanup. 2005-10-14 05:59:43 +00:00
Erik de Castro Lopo
a1f11438e0 locale_test.c : Fix the unicode string encoding. 2005-09-29 19:57:24 +00:00
Erik de Castro Lopo
fe13d705dc locale_test.c : Add Japanese and Vietnamese. 2005-09-24 12:42:30 +00:00