Commit graph

14 commits

Author SHA1 Message Date
Ralph Giles
662ae9bb18 Include process.h for _getpid on windows.
Previously the test programmes happened to link because _getpid
returns an int, which is the default prototype. Instead, include
the appropriate header to supply a real declaration, fixing the
associated warning.

I moved the getpid->_getpid define to the site of the header
inclusion to make clear what's going on, rather than have it
floating in win32/config.h.
2012-10-23 13:04:36 -07:00
Gregory Maxwell
98eed74bf5 Avoid an inconsequential memory leak in tests/test_opus_decode.c.
Match up the exit behavior when the no-fuzz enviroment variable
is set.
2012-08-09 07:22:44 -04:00
Gregory Maxwell
ce87883686 Fix headers by mingw broken by recent win32 changes. 2012-07-14 11:00:24 -04:00
Gian-Carlo Pascutto
c0edd63737 Make tests work on MSVC.
Add project files for Opus tests, fixup test source for Win32.
2012-07-12 18:00:46 -04:00
Gregory Maxwell
f99e3292e7 Avoid an inconsequential memory leak in tests/test_opus_decode.c 2012-06-01 08:47:25 -04:00
Jean-Marc Valin
ab5a049705 Merge commit '390c89225d' 2012-04-24 13:39:22 -04:00
Jean-Marc Valin
cb05e7cd96 s/FOUNDATION/COPYRIGHT OWNER/ in CELT code and "glue code"
Also added 3rd clause to "master" COPYING file
2012-04-20 16:41:42 -04:00
Gregory Maxwell
8770b0709b CLANG IOC no longer likes the 'deterministic random' bitstreams, so move the test_opus_decode bailout up. 2012-03-06 12:01:36 -05:00
Gregory Maxwell
a26b2be2f9 Improvements to the tests, add a TEST_OPUS_NOFUZZ to disable testing corrupted input.
No changes to the codec itself.
2012-01-25 12:04:17 +13:00
Gregory Maxwell
e699c1989c Testing tools improvements (no impact on draft) 2011-11-25 23:53:15 -05:00
Gregory Maxwell
8fcfe02bc0 Update test_opus_encode / test_opus_decode for better LBRR/PLC testing and to reduce stack usage. 2011-10-28 23:15:04 -04:00
Ralph Giles
7931a60135 Remove relative paths to opus.h.
Files are already compiled with -I./include, the relative
path in the #include line isn't necessary.
2011-10-28 11:30:57 -07:00
Jean-Marc Valin
4923f3f80e Moves the main headers from src/ to include/ 2011-10-26 21:36:57 -04:00
Gregory Maxwell
a5ff49ecdc Renames test_opus to opus_demo and adds the test_opus_api, test_opus_encode, test_opus_decode test programs. 2011-10-26 19:59:49 -04:00