Commit Graph

417 Commits

Author SHA1 Message Date
Erik de Castro Lopo
4f143688e7 tests/string_test.c : Add test for SF_STR_SOFTWARE segfault bug. 2011-03-25 19:13:51 +11:00
Erik de Castro Lopo
44594192ce tests/utils.tpl : Add NOT macro to util.h. 2011-03-25 18:58:12 +11:00
Erik de Castro Lopo
3345ba66f1 tests/cpp_test.cc : Fix a broken test (test segfaults). 2011-03-22 22:46:25 +11:00
Erik de Castro Lopo
86bf88790f tests/Makefile.am : Link lib to win32_test so testuite tarball works. 2011-03-22 09:41:04 +11:00
Erik de Castro Lopo
e0c6b3038c tests/test_wrapper.sh.in : Don't run cpp_test.exe when compiled with w64 compiler. 2011-03-21 09:12:40 +11:00
Erik de Castro Lopo
6b032a1b5f tests/utils.tpl : Move sf_info_(clear|setup) inside #ifdef SNDFILE_H. 2011-03-18 18:27:22 +11:00
Erik de Castro Lopo
912f139ed9 tests/(alaw|dwvw|ulaw)_test.c : Use functions sf_info_clear() and sf_info_setup(). 2011-03-15 22:10:10 +11:00
Erik de Castro Lopo
869a4d4e94 tests/utils.tpl : Add static inline functions sf_info_clear() and sf_info_setup(). 2011-03-15 20:37:58 +11:00
Erik de Castro Lopo
15b63dfca8 tests/cpp_test.cc : Add test for LPCWSTR version of the SndfileHandle constructor. 2011-01-27 20:51:09 +11:00
Erik de Castro Lopo
f209698448 Update copyright dates. 2011-01-19 21:36:56 +11:00
Erik de Castro Lopo
41c36ef340 tests/cpp_test.cc : Add tests for two new methods. Also supplied by Tim Blechmann. 2010-12-01 19:44:17 +11:00
Erik de Castro Lopo
5f5bbb50d4 tests/string_test.c : Add tests for SF_STR_GENRE and SF_STR_TRACKNUMBER. 2010-10-12 20:26:34 +11:00
Erik de Castro Lopo
9286b2c335 tests/pedantic-header-test.sh.in : Handle unusual values of CC environment variable. 2010-10-09 16:44:33 +11:00
Erik de Castro Lopo
c114f21ecf Makefile.am : Add *~ to CLEANFILES. 2010-10-06 22:16:41 +11:00
Erik de Castro Lopo
fe08ea435f tests/ : Whitespace fixes. 2010-10-04 22:25:33 +11:00
Erik de Castro Lopo
229e66bfb0 Tweak SF_BROADCAST_INFO tests. 2010-10-03 20:48:43 +11:00
Erik de Castro Lopo
d3d2b397f0 tests/pedantic-header-test.sh.in : Exit 0 if the source file isn't present. 2010-09-30 07:46:49 +10:00
Erik de Castro Lopo
9fc3c09c85 tests/write_read_test.tpl : Don't allow SDS files to have a long frame count. 2010-09-29 20:41:03 +10:00
Erik de Castro Lopo
8deeb575a8 Fix a bunch of minor issues found using static analysis. 2010-09-10 18:33:27 +10:00
Erik de Castro Lopo
a5bec997a2 tests/pedantic-header-test.sh.in : Fix out of tree builds. 2010-04-25 08:57:01 +10:00
Erik de Castro Lopo
fac9e4a9d7 tests/pedantic-header-test.sh.in : Fix 'make distcheck'. 2010-04-23 21:46:00 +10:00
Erik de Castro Lopo
79eb5e5102 tests/pedantic-header-test.sh.in : Make it work when doing 'make distcheck'. 2010-04-21 19:13:51 +10:00
Erik de Castro Lopo
57dc07f947 tests/sfversion.c : Remove cruft. 2010-04-21 19:13:23 +10:00
Erik de Castro Lopo
1b5335b0ff tests/*.sh.in : Add copyright notices. 2010-04-21 18:25:30 +10:00
Erik de Castro Lopo
66f6e6cae7 Hook pedantic-header-test into test suite. 2010-04-21 18:17:45 +10:00
Erik de Castro Lopo
d1484cf543 tests/pedantic-header-test.sh.in : New file to test whether sndfile.h can be compiled with gcc's -pedantic flag. 2010-04-21 18:13:26 +10:00
Erik de Castro Lopo
b7f1dde2d6 tests/test_wrapper.sh.in : Add rdwr_test to the test wrapper script. 2010-02-28 14:14:23 +11:00
Erik de Castro Lopo
0d4302b0ef tests/rdwr_test.(def|tpl) : Add new test program and hook into build. 2010-02-28 13:52:11 +11:00
Erik de Castro Lopo
08346be458 tests/utils.tpl : Add functions test_read_raw_or_die and test_write_raw_or_die. 2010-02-28 13:23:56 +11:00
Erik de Castro Lopo
66e72fb912 Disable pipe_test if pipe() and waitpid() aren't available. 2009-12-28 08:23:47 +11:00
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